File Coverage

blib/lib/HTML/FormHandler/Field/Hidden.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package HTML::FormHandler::Field::Hidden;
2             # ABSTRACT: hidden field
3             $HTML::FormHandler::Field::Hidden::VERSION = '0.40067';
4 11     11   7611 use Moose;
  11         15  
  11         80  
5             extends 'HTML::FormHandler::Field::Text';
6              
7             has '+widget' => ( default => 'Hidden' );
8             has '+do_label' => ( default => 0 );
9             has '+html5_type_attr' => ( default => 'hidden' );
10              
11              
12             __PACKAGE__->meta->make_immutable;
13 11     11   49699 use namespace::autoclean;
  11         15  
  11         100  
14             1;
15              
16             __END__
17              
18             =pod
19              
20             =encoding UTF-8
21              
22             =head1 NAME
23              
24             HTML::FormHandler::Field::Hidden - hidden field
25              
26             =head1 VERSION
27              
28             version 0.40067
29              
30             =head1 DESCRIPTION
31              
32             This is a text field that uses the 'hidden' widget type, for HTML
33             of type 'hidden'.
34              
35             =head1 AUTHOR
36              
37             FormHandler Contributors - see HTML::FormHandler
38              
39             =head1 COPYRIGHT AND LICENSE
40              
41             This software is copyright (c) 2016 by Gerda Shank.
42              
43             This is free software; you can redistribute it and/or modify it under
44             the same terms as the Perl 5 programming language system itself.
45              
46             =cut