From 791077c240f74dd4e228fc5b8ac3d7a0c0d41f3a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 2 Apr 2007 18:44:35 +0000 Subject: 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 --- app/views/account/password_recovery.rhtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views/account') 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 %>

- <%= password_field_tag 'new_password', nil, :size => 25 %>

+ <%= password_field_tag 'new_password', nil, :size => 25 %>
+ <%= l(:text_length_between, 4, 12) %>

<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

-- cgit v1.2.3