| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package HTML::FormFu::Element::Text; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 286 |  |  | 286 |  | 2726 | use strict; | 
|  | 286 |  |  |  |  | 406 |  | 
|  | 286 |  |  |  |  | 11929 |  | 
| 4 |  |  |  |  |  |  | our $VERSION = '2.05'; # VERSION | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 286 |  |  | 286 |  | 1015 | use Moose; | 
|  | 286 |  |  |  |  | 309 |  | 
|  | 286 |  |  |  |  | 1738 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | extends 'HTML::FormFu::Element'; | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | with 'HTML::FormFu::Role::Element::Input'; | 
| 11 |  |  |  |  |  |  |  | 
| 12 |  |  |  |  |  |  | after BUILD => sub { | 
| 13 |  |  |  |  |  |  | my $self = shift; | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | $self->field_type('text'); | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | return; | 
| 18 |  |  |  |  |  |  | }; | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | __PACKAGE__->meta->make_immutable; | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | 1; | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | __END__ | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =head1 NAME | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | HTML::FormFu::Element::Text - Text form field | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head1 VERSION | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | version 2.05 | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | my $element = $form->element( Text => 'foo' ); | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | Text form field. | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | =head1 SEE ALSO | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | Is a sub-class of, and inherits methods from | 
| 45 |  |  |  |  |  |  | L<HTML::FormFu::Role::Element::Input>, | 
| 46 |  |  |  |  |  |  | L<HTML::FormFu::Role::Element::Field>, | 
| 47 |  |  |  |  |  |  | L<HTML::FormFu::Element>. | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | L<HTML::FormFu> | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | =head1 AUTHOR | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | Carl Franks, C<cfranks@cpan.org> | 
| 54 |  |  |  |  |  |  |  | 
| 55 |  |  |  |  |  |  | =head1 LICENSE | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | This library is free software, you can redistribute it and/or modify it under | 
| 58 |  |  |  |  |  |  | the same terms as Perl itself. | 
| 59 |  |  |  |  |  |  |  | 
| 60 |  |  |  |  |  |  | =cut |