NAME

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

VERSION

version 0.40001

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

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.