Skip to content

Commit f0884bd

Browse files
committed
Fix formatting on "my account" page to match more recent changes.
1 parent b46a84f commit f0884bd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: app/views/my/account.html.erb

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
<%= error_messages_for 'user' %>
77

88
<div class="splitcontentleft">
9-
<% labelled_form_for :user, @user, :url => { :action => "account" }, :html => { :id => 'my_account_form' } do |f| %>
9+
<% form_for :user, @user, :url => { :action => "account" },
10+
:builder => TabularFormBuilder,
11+
:lang => current_language,
12+
:html => { :id => 'my_account_form' } do |f| %>
1013
<fieldset class="box tabular">
1114
<legend><%=l(:label_information_plural)%></legend>
1215
<p><%= f.text_field :firstname, :required => true %></p>
@@ -21,7 +24,7 @@
2124
<% end %>
2225
<%= call_hook(:view_my_account, :user => @user, :form => f) %>
2326
</fieldset>
24-
<fieldset class="box tabular">
27+
<fieldset class="box">
2528
<legend><%=l(:field_mail_notification)%></legend>
2629
<%= render :partial => 'users/mail_notifications' %>
2730
</fieldset>

0 commit comments

Comments
 (0)