The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CatalystX::Resource::TraitFor::Controller::Resource::Create - a create action for your resource

VERSION

version 0.009_002

ATTRIBUTES

activate_fields_create

(default = []). arrayref of form fields to activate in the create form (e.g. ['password', 'password_confirm'], default = []) Can be overriden with $c->stash->{activate_form_fields}

Example: You only want admins to be able to change a field. Disable field by default in HTML::FormHandler.

ACTIONS

create

create a resource

AUTHOR

David Schmidt <davewood@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by David Schmidt.

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