From 205369616a3554a7d95712c582c24eafa288b688 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 16 Sep 2011 23:55:07 +0000 Subject: [PATCH] replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7260 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/users/_form.html.erb | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index 4b145bc3d..72367fe96 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -4,46 +4,46 @@
- <%=l(:label_information_plural)%> -

<%= f.text_field :login, :required => true, :size => 25 %>

-

<%= f.text_field :firstname, :required => true %>

-

<%= f.text_field :lastname, :required => true %>

-

<%= f.text_field :mail, :required => true %>

-

<%= f.select :language, lang_options_for_select %>

- <% if Setting.openid? %> -

<%= f.text_field :identity_url %>

- <% end %> - - <% @user.custom_field_values.each do |value| %> -

<%= custom_field_tag_with_label :user, value %>

- <% end %> - -

<%= f.check_box :admin, :disabled => (@user == User.current) %>

- <%= call_hook(:view_users_form, :user => @user, :form => f) %> + <%=l(:label_information_plural)%> +

<%= f.text_field :login, :required => true, :size => 25 %>

+

<%= f.text_field :firstname, :required => true %>

+

<%= f.text_field :lastname, :required => true %>

+

<%= f.text_field :mail, :required => true %>

+

<%= f.select :language, lang_options_for_select %>

+ <% if Setting.openid? %> +

<%= f.text_field :identity_url %>

+ <% end %> + + <% @user.custom_field_values.each do |value| %> +

<%= custom_field_tag_with_label :user, value %>

+ <% end %> + +

<%= f.check_box :admin, :disabled => (@user == User.current) %>

+ <%= call_hook(:view_users_form, :user => @user, :form => f) %>
- <%=l(:label_authentication)%> - <% unless @auth_sources.empty? %> -

<%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %>

- <% end %> -
-

<%= f.password_field :password, :required => true, :size => 25 %>
- <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>

-

<%= f.password_field :password_confirmation, :required => true, :size => 25 %>

-
+ <%=l(:label_authentication)%> + <% unless @auth_sources.empty? %> +

<%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %>

+ <% end %> +
+

<%= f.password_field :password, :required => true, :size => 25 %>
+ <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>

+

<%= f.password_field :password_confirmation, :required => true, :size => 25 %>

+
- <%=l(:field_mail_notification)%> - <%= render :partial => 'users/mail_notifications' %> + <%=l(:field_mail_notification)%> + <%= render :partial => 'users/mail_notifications' %>
- <%=l(:label_preferences)%> - <%= render :partial => 'users/preferences' %> + <%=l(:label_preferences)%> + <%= render :partial => 'users/preferences' %>