X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty%2FForm%2FLogin.pm;h=6e881695a7b68eceee9f4089f2102b41ed54137d;hp=aa25b1d89ac7c79998afc68b1793a4789c04392c;hb=8a3ece46ef6bfeefaa27f53f199c285d0062f841;hpb=d2a57728529b95fa1c2e3da677e64c848e7d065b diff --git a/lib/Chatty/Form/Login.pm b/lib/Chatty/Form/Login.pm index aa25b1d..6e88169 100644 --- a/lib/Chatty/Form/Login.pm +++ b/lib/Chatty/Form/Login.pm @@ -2,11 +2,11 @@ package Chatty::Form::Login; use HTML::FormHandler::Moose; extends 'HTML::FormHandler'; +use namespace::autoclean; has_field 'username' => (label => 'Username', required => 1); has_field 'password' => (type => 'Password', required => 1); has_field 'submit' => (type => 'Submit', value => 'Login'); -no HTML::FormHandler::Moose; __PACKAGE__->meta->make_immutable; 1;