From 715b3a0eafff717a201f65955309f4717e618467 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Thu, 13 Oct 2011 18:49:54 -0600 Subject: [PATCH] reorder email field in registration form --- lib/Chatty/Form/Register.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.45.2