summaryrefslogtreecommitdiffstats
path: root/app/views/users/_form.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-16 23:55:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-16 23:55:07 +0000
commit205369616a3554a7d95712c582c24eafa288b688 (patch)
tree6b043ffeb2e97ac04cd4c63193f38df42a080f6a /app/views/users/_form.html.erb
parent420f10ee4939ba27cce8190315f1184096988996 (diff)
downloadredmine-205369616a3554a7d95712c582c24eafa288b688.tar.gz
redmine-205369616a3554a7d95712c582c24eafa288b688.zip
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
Diffstat (limited to 'app/views/users/_form.html.erb')
-rw-r--r--app/views/users/_form.html.erb58
1 files 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 @@
<!--[form:user]-->
<div class="splitcontentleft">
<fieldset class="box tabular">
- <legend><%=l(:label_information_plural)%></legend>
- <p><%= f.text_field :login, :required => true, :size => 25 %></p>
- <p><%= f.text_field :firstname, :required => true %></p>
- <p><%= f.text_field :lastname, :required => true %></p>
- <p><%= f.text_field :mail, :required => true %></p>
- <p><%= f.select :language, lang_options_for_select %></p>
- <% if Setting.openid? %>
- <p><%= f.text_field :identity_url %></p>
- <% end %>
-
- <% @user.custom_field_values.each do |value| %>
- <p><%= custom_field_tag_with_label :user, value %></p>
- <% end %>
-
- <p><%= f.check_box :admin, :disabled => (@user == User.current) %></p>
- <%= call_hook(:view_users_form, :user => @user, :form => f) %>
+ <legend><%=l(:label_information_plural)%></legend>
+ <p><%= f.text_field :login, :required => true, :size => 25 %></p>
+ <p><%= f.text_field :firstname, :required => true %></p>
+ <p><%= f.text_field :lastname, :required => true %></p>
+ <p><%= f.text_field :mail, :required => true %></p>
+ <p><%= f.select :language, lang_options_for_select %></p>
+ <% if Setting.openid? %>
+ <p><%= f.text_field :identity_url %></p>
+ <% end %>
+
+ <% @user.custom_field_values.each do |value| %>
+ <p><%= custom_field_tag_with_label :user, value %></p>
+ <% end %>
+
+ <p><%= f.check_box :admin, :disabled => (@user == User.current) %></p>
+ <%= call_hook(:view_users_form, :user => @user, :form => f) %>
</fieldset>
<fieldset class="box tabular">
- <legend><%=l(:label_authentication)%></legend>
- <% unless @auth_sources.empty? %>
- <p><%= 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');}" %></p>
- <% end %>
- <div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
- <p><%= f.password_field :password, :required => true, :size => 25 %><br />
- <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
- <p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p>
- </div>
+ <legend><%=l(:label_authentication)%></legend>
+ <% unless @auth_sources.empty? %>
+ <p><%= 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');}" %></p>
+ <% end %>
+ <div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
+ <p><%= f.password_field :password, :required => true, :size => 25 %><br />
+ <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
+ <p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p>
+ </div>
</fieldset>
</div>
<div class="splitcontentright">
<fieldset class="box">
- <legend><%=l(:field_mail_notification)%></legend>
- <%= render :partial => 'users/mail_notifications' %>
+ <legend><%=l(:field_mail_notification)%></legend>
+ <%= render :partial => 'users/mail_notifications' %>
</fieldset>
<fieldset class="box tabular">
- <legend><%=l(:label_preferences)%></legend>
- <%= render :partial => 'users/preferences' %>
+ <legend><%=l(:label_preferences)%></legend>
+ <%= render :partial => 'users/preferences' %>
</fieldset>
</div>
</div>