Commit 2f2b97f2ab5131308816e42cb57738a8ba59f552

Authored by Antonio Terceiro
1 parent 4cedf957

ActionItem1165: usability

app/controllers/public/account_controller.rb
... ... @@ -77,6 +77,8 @@ class AccountController < ApplicationController
77 77 end
78 78 rescue ActiveRecord::RecordInvalid
79 79 @person.valid?
  80 + @person.errors.delete(:identifier)
  81 + @person.errors.delete(:user_id)
80 82 if @wizard
81 83 render :action => 'signup', :layout => 'wizard'
82 84 else
... ...
app/views/account/_signup_form.rhtml
... ... @@ -37,7 +37,7 @@
37 37  
38 38 <div id='signup-password'>
39 39 <%= required f.password_field(:password,
40   - :help => help=_('Choose a password that you can remember easily.')) %>
  40 + :help => help=_('Choose a password that you can remember easily. It must have at least 4 characters.')) %>
41 41 <div class='help-small-msg'><%= help %></div>
42 42 </div>
43 43  
... ...