##// END OF EJS Templates
remove trailing white-spaces from app/views/my/account.html.erb...
Toshi MARUYAMA -
r7104:a96da11769c7
parent child
Show More
@@ -1,51 +1,51
1 1 <div class="contextual">
2 2 <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
3 3 <%= call_hook(:view_my_account_contextual, :user => @user)%>
4 4 </div>
5 5
6 6 <h2><%=l(:label_my_account)%></h2>
7 7 <%= error_messages_for 'user' %>
8 8
9 <% form_for :user, @user, :url => { :action => "account" },
10 :builder => TabularFormBuilder,
9 <% form_for :user, @user, :url => { :action => "account" },
10 :builder => TabularFormBuilder,
11 11 :lang => current_language,
12 12 :html => { :id => 'my_account_form' } do |f| %>
13 13 <div class="splitcontentleft">
14 14 <fieldset class="box tabular">
15 15 <legend><%=l(:label_information_plural)%></legend>
16 16 <p><%= f.text_field :firstname, :required => true %></p>
17 17 <p><%= f.text_field :lastname, :required => true %></p>
18 18 <p><%= f.text_field :mail, :required => true %></p>
19 19 <p><%= f.select :language, lang_options_for_select %></p>
20 20 <% if Setting.openid? %>
21 21 <p><%= f.text_field :identity_url %></p>
22 22 <% end %>
23 23
24 24 <% @user.custom_field_values.select(&:editable?).each do |value| %>
25 25 <p><%= custom_field_tag_with_label :user, value %></p>
26 26 <% end %>
27 27 <%= call_hook(:view_my_account, :user => @user, :form => f) %>
28 28 </fieldset>
29 29
30 30 <%= submit_tag l(:button_save) %>
31 31 </div>
32 32
33 33 <div class="splitcontentright">
34 34 <fieldset class="box">
35 35 <legend><%=l(:field_mail_notification)%></legend>
36 36 <%= render :partial => 'users/mail_notifications' %>
37 37 </fieldset>
38 38
39 39 <fieldset class="box tabular">
40 40 <legend><%=l(:label_preferences)%></legend>
41 41 <%= render :partial => 'users/preferences' %>
42 42 </fieldset>
43 43
44 44 </div>
45 45 <% end %>
46 46
47 47 <% content_for :sidebar do %>
48 48 <%= render :partial => 'sidebar' %>
49 49 <% end %>
50 50
51 51 <% html_title(l(:label_my_account)) -%>
General Comments 0
You need to be logged in to leave comments. Login now