summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-02 18:44:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-02 18:44:35 +0000
commit791077c240f74dd4e228fc5b8ac3d7a0c0d41f3a (patch)
treee53f43445c12850481f1a9df0e7929eaa0ae805f /app/views/users
parentbd8de9a6f84052f72930dac3c5ee2e353c249238 (diff)
downloadredmine-791077c240f74dd4e228fc5b8ac3d7a0c0d41f3a.tar.gz
redmine-791077c240f74dd4e228fc5b8ac3d7a0c0d41f3a.zip
Added some attributes length validations.
Also added some information about attribute length constraints on forms. git-svn-id: http://redmine.rubyforge.org/svn/trunk@400 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/_form.rhtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/_form.rhtml b/app/views/users/_form.rhtml
index 18c849257..43540e67c 100644
--- a/app/views/users/_form.rhtml
+++ b/app/views/users/_form.rhtml
@@ -23,7 +23,8 @@
<p><%= f.select :auth_source_id, [[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] } %></p>
<% end %>
<p><label for="password"><%=l(:field_password)%><span class="required"> *</span></label>
-<%= password_field_tag 'password', nil, :size => 25 %></p>
+<%= password_field_tag 'password', nil, :size => 25 %><br />
+<em><%= l(:text_length_between, 4, 12) %></em></p>
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%><span class="required"> *</span></label>
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
</div>