From 2f2b97f2ab5131308816e42cb57738a8ba59f552 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 3 Aug 2009 16:38:56 -0300 Subject: [PATCH] ActionItem1165: usability --- app/controllers/public/account_controller.rb | 2 ++ app/views/account/_signup_form.rhtml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/public/account_controller.rb b/app/controllers/public/account_controller.rb index 9711506..0fe8bc0 100644 --- a/app/controllers/public/account_controller.rb +++ b/app/controllers/public/account_controller.rb @@ -77,6 +77,8 @@ class AccountController < ApplicationController end rescue ActiveRecord::RecordInvalid @person.valid? + @person.errors.delete(:identifier) + @person.errors.delete(:user_id) if @wizard render :action => 'signup', :layout => 'wizard' else diff --git a/app/views/account/_signup_form.rhtml b/app/views/account/_signup_form.rhtml index 54366f9..174ea28 100644 --- a/app/views/account/_signup_form.rhtml +++ b/app/views/account/_signup_form.rhtml @@ -37,7 +37,7 @@
<%= required f.password_field(:password, - :help => help=_('Choose a password that you can remember easily.')) %> + :help => help=_('Choose a password that you can remember easily. It must have at least 4 characters.')) %>
<%= help %>
-- libgit2 0.21.2