t/lib/Form/Two.pm
raw| 1 | package Form::Two; |
| 2 | |
| 3 | use HTML::FormHandler::Moose; |
| 4 | extends 'Form::Test'; |
| 5 | |
| 6 | has '+name' => ( default => 'FormTwo' ); |
| 7 | has_field 'new_field' => ( required => 1 ); |
| 8 | has_field 'optname' => ( temp => 'Txxt' ); |
| 9 | has_field '+reqname' => ( temp => 'Abc' ); |
| 10 | |
| 11 | no HTML::FormHandler::Moose; |
| 12 | 1; |