1use strict; 2 3package HTML::FormFu::Element::Submit; 4$HTML::FormFu::Element::Submit::VERSION = '2.07'; 5# ABSTRACT: Submit button form field 6 7use Moose; 8 9extends 'HTML::FormFu::Element::Button'; 10 11after BUILD => sub { 12 my $self = shift; 13 14 $self->field_type('submit'); 15 16 return; 17}; 18 19__PACKAGE__->meta->make_immutable; 20 211; 22 23__END__ 24 25=pod 26 27=encoding UTF-8 28 29=head1 NAME 30 31HTML::FormFu::Element::Submit - Submit button form field 32 33=head1 VERSION 34 35version 2.07 36 37=head1 SYNOPSIS 38 39 $element = $form->element( Submit => 'foo' ); 40 41=head1 DESCRIPTION 42 43Submit button form field. 44 45=head1 METHODS 46 47=head1 SEE ALSO 48 49Is a sub-class of, and inherits methods from 50L<HTML::FormFu::Element::Button>, 51L<HTML::FormFu::Role::Element::Input>, 52L<HTML::FormFu::Role::Element::Field>, 53L<HTML::FormFu::Element> 54 55L<HTML::FormFu> 56 57=head1 AUTHOR 58 59Carl Franks, C<cfranks@cpan.org> 60 61=head1 LICENSE 62 63This library is free software, you can redistribute it and/or modify it under 64the same terms as Perl itself. 65 66=head1 AUTHOR 67 68Carl Franks <cpan@fireartist.com> 69 70=head1 COPYRIGHT AND LICENSE 71 72This software is copyright (c) 2018 by Carl Franks. 73 74This is free software; you can redistribute it and/or modify it under 75the same terms as the Perl 5 programming language system itself. 76 77=cut 78