NAME
App::Manoc::ControllerRole::ObjectForm - Role for editing objects with a form
VERSION
version 2.99.2
ACTIONS
form
Private action which handle creation and editing of resources. Form defaults can be injected using form_defaults in stash. Form is created by get_form method.
METHODS
get_form
Create a new form using form_class configuration parameter.
get_form_success_url
Get the URL to redirect after successful editing. Use form_success_url or try to use the view action in the current namespace.
AUTHORS
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.