| 1 | package # hide from Pause | ||||||||||
| 2 | HTML::FormHandler::Field::Repeatable::Instance; | ||||||||||
| 3 | # ABSTRACT: used internally by repeatable fields | ||||||||||
| 4 | |||||||||||
| 5 | 29 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 29 | extends 'HTML::FormHandler::Field::Compound'; | |||||||||
| 7 | |||||||||||
| 8 | |||||||||||
| 9 | 33 | ▶ | sub BUILD { | ||||||||
|
Subroutine
BUILD: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 10 | 33 | my $self = shift; | |||||||||
| 11 | |||||||||||
| 12 | 33 | ▶ | $self->add_wrapper_class('hfh-repinst') | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | unless $self->has_wrapper_class; | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 30 | ▶ | sub build_tags {{ wrapper => 1 }} | ||||||||
|
Subroutine
build_tags: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 17 | |||||||||||
| 18 | 29 | has '+do_label' => ( default => 0 ); | |||||||||
| 19 | 29 | has '+do_wrapper' => ( default => 1 ); | |||||||||
| 20 | 29 | has '+no_value_if_empty' => ( default => 1 ); | |||||||||
| 21 | |||||||||||
| 22 | 29 | __PACKAGE__->meta->make_immutable; | |||||||||
| 23 | 29 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | 29 | 1; | |||||||||
| 25 | |||||||||||
| 26 | __END__ | ||||||||||