summaryrefslogtreecommitdiffstats
path: root/app/views/account
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/account
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/account')
-rw-r--r--app/views/account/password_recovery.rhtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/account/password_recovery.rhtml b/app/views/account/password_recovery.rhtml
index 89b105292..c3c451e57 100644
--- a/app/views/account/password_recovery.rhtml
+++ b/app/views/account/password_recovery.rhtml
@@ -9,7 +9,8 @@
<% form_tag({:token => @token.value}, :class => "tabular") do %>
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
- <%= password_field_tag 'new_password', nil, :size => 25 %></p>
+ <%= password_field_tag 'new_password', nil, :size => 25 %><br />
+ <em><%= l(:text_length_between, 4, 12) %></em></p>
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>