NAME

HTML::FormHandler::Moose::Role - to add FormHandler sugar to Roles

SYNOPSIS

Enables the use of field specification sugar (has_field) in roles. Use this module instead of use Moose::Role;

package MyApp::Form::Foo;
use HTML::FormHandler::Moose::Role;

has_field 'username' => ( type => 'Text', ... );
has_field 'something_else' => ( ... );

no HTML::FormHandler::Moose::Role;
1;

AUTHOR

Gerda Shank, gshank@cpan.org

COPYRIGHT

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.