line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::FormWidgets::Hidden; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
637
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
5
|
1
|
|
|
1
|
|
5
|
use parent 'HTML::FormWidgets'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub init { |
8
|
1
|
|
|
1
|
1
|
2
|
my ($self, $args) = @_; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
|
|
8
|
$self->container( 0 ); |
11
|
1
|
|
|
|
|
7
|
return; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub render_field { |
15
|
1
|
|
|
1
|
1
|
2
|
my ($self, $args) = @_; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
2
|
delete $args->{id}; |
18
|
1
|
|
|
|
|
2
|
$args->{type} = q(hidden); |
19
|
1
|
|
50
|
|
|
5
|
$args->{value} = delete $args->{default} || q(); |
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
|
|
4
|
return $self->hacc->input( $args ); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|