From: Charles McGarvey Date: Fri, 14 Oct 2011 00:49:54 +0000 (-0600) Subject: reorder email field in registration form X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=715b3a0eafff717a201f65955309f4717e618467;p=chaz%2Fchatty reorder email field in registration form --- diff --git a/lib/Chatty/Form/Register.pm b/lib/Chatty/Form/Register.pm index 8532815..9ae939e 100644 --- a/lib/Chatty/Form/Register.pm +++ b/lib/Chatty/Form/Register.pm @@ -5,10 +5,10 @@ extends 'HTML::FormHandler::Model::DBIC'; has '+item_class' => (default => 'Account'); -has_field 'email' => (type => 'Email', label => 'Email address'); has_field 'username' => (label => 'User Nickname', required => 1, unique => 1); has_field 'password' => (type => 'Password', required => 1); has_field 'password_confirm' => (type => 'PasswordConf', required => 1); +has_field 'email' => (type => 'Email', label => 'Email address'); has_field 'submit' => (type => 'Submit', value => 'Register'); has '+unique_messages' => (default => sub {