]> projects.mako.cc - selectricity/blobdiff - app/views/account/change_contact.rhtml
User summary method is now more secure. Email change method prtects account SQL injec...
[selectricity] / app / views / account / change_contact.rhtml
index d8fa638eda7ede21fc6b0ae9b00853177a1a34f7..b16bc8b3954c51c900457f35aac82328d7e8214f 100644 (file)
@@ -3,9 +3,11 @@
   <span class="subheader"></span>
 </div>
 <div class="user_edit">
+       <p>Current E-mail: <%=h @user.email %></p>
+       
        <% form_tag do -%>
        
-       <p><label for="login">Change E-mail</label><br/>
+       <p><label for="login">New E-mail</label><br/>
        <%= text_field_tag 'email' %></p>
        
        <p><%= submit_tag 'Submit' %></p>

Benjamin Mako Hill || Want to submit a patch?