line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::FormHandler::Field::Reset; |
2
|
|
|
|
|
|
|
# ABSTRACT: reset field |
3
|
|
|
|
|
|
|
$HTML::FormHandler::Field::Reset::VERSION = '0.40068'; |
4
|
5
|
|
|
5
|
|
3870
|
use Moose; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
42
|
|
5
|
|
|
|
|
|
|
extends 'HTML::FormHandler::Field::NoValue'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has '+widget' => ( default => 'Reset' ); |
9
|
|
|
|
|
|
|
has '+value' => ( default => 'Reset' ); |
10
|
|
|
|
|
|
|
has '+type_attr' => ( default => 'reset' ); |
11
|
|
|
|
|
|
|
has '+html5_type_attr' => ( default => 'reset' ); |
12
|
4
|
|
|
4
|
0
|
19
|
sub do_label {0} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
15
|
5
|
|
|
5
|
|
32902
|
use namespace::autoclean; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
55
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=encoding UTF-8 |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
HTML::FormHandler::Field::Reset - reset field |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
version 0.40068 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Use this field to declare a reset field in your form. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has_field 'reset' => ( type => 'Reset', value => 'Restore' ); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Uses the 'reset' widget. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
FormHandler Contributors - see HTML::FormHandler |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Gerda Shank. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
49
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |