]> Dogcows Code - chaz/chatty/commitdiff
reorder email field in registration form
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 14 Oct 2011 00:49:54 +0000 (18:49 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 14 Oct 2011 00:49:54 +0000 (18:49 -0600)
lib/Chatty/Form/Register.pm

index 853281578b9dd739f3b07f7005ada991e4a8bb3e..9ae939ef31231833e7afbaa5ecdf4f45606f9f17 100644 (file)
@@ -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 {
This page took 0.019917 seconds and 4 git commands to generate.