]> Dogcows Code - chaz/chatty/blob - lib/Chatty/Form/Login.pm
switch to FormHandler for validation
[chaz/chatty] / lib / Chatty / Form / Login.pm
1 package Chatty::Form::Login;
2
3 use HTML::FormHandler::Moose;
4 extends 'HTML::FormHandler';
5
6 has_field 'username' => (label => 'Username', required => 1);
7 has_field 'password' => (type => 'Password', required => 1);
8 has_field 'submit' => (type => 'Submit', value => 'Login');
9
10 no HTML::FormHandler::Moose;
11 __PACKAGE__->meta->make_immutable;
12 1;
This page took 0.029664 seconds and 4 git commands to generate.