| 1 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package HTML::FormFu::Element::Reset; | ||
| 4 | 5 | $HTML::FormFu::Element::Reset::VERSION = '2.09'; | |
| 5 | # ABSTRACT: Reset button form field | ||
| 6 | |||
| 7 | 5 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | extends 'HTML::FormFu::Element::Button'; | |
| 10 | |||
| 11 | 2 | ▶ | after BUILD => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 12 | 2 | my $self = shift; | |
| 13 | |||
| 14 | 2 | $self->field_type('reset'); | |
| 15 | |||
| 16 | 2 | return; | |
| 17 | 5 | }; | |
| 18 | |||
| 19 | 5 | __PACKAGE__->meta->make_immutable; | |
| 20 | |||
| 21 | 5 | 1; | |
| 22 | |||
| 23 | __END__ | ||