File Coverage

blib/lib/meon/Web/Form/Login.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package meon::Web::Form::Login;
2              
3 2     2   12503354 use HTML::FormHandler::Moose;
  0            
  0            
4             extends 'HTML::FormHandler';
5              
6             has '+name' => (default => 'form_login');
7             has '+widget_wrapper' => ( default => 'Bootstrap' );
8              
9             has_field 'username' => ( type => 'Text', required => 1, label => 'Username' );
10             has_field 'password' => ( type => 'Password', required => 1 );
11             has_field 'remember_login' => ( type => 'Checkbox', );
12             has_field 'submit' => ( type => 'Submit', value => 'Submit', );
13              
14             no HTML::FormHandler::Moose;
15              
16             1;