diff app/views/my/account.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents cbb26bc654de
children bb32da3bea34 261b3d9a4903
line wrap: on
line diff
--- a/app/views/my/account.html.erb	Wed Jun 27 14:54:18 2012 +0100
+++ b/app/views/my/account.html.erb	Mon Jan 07 12:01:42 2013 +0000
@@ -6,10 +6,10 @@
 <h2><%=l(:label_my_account)%></h2>
 <%= error_messages_for 'user' %>
 
-<% form_for :user, @user, :url => { :action => "account" },
-                          :builder => TabularFormBuilder,
-                          :lang => current_language,
-                          :html => { :id => 'my_account_form' } do |f| %>
+<%= labelled_form_for :user, @user,
+                     :url => { :action => "account" },
+                     :html => { :id => 'my_account_form',
+                                :method => :post } do |f| %>
 <div class="splitcontentleft">
 <fieldset class="box tabular">
   <legend><%=l(:label_information_plural)%></legend>