>
> *basic form ep template*
>
> name
> email
> tel
>
> *second form extends basic*
>
> accommodation choice
> event choice
>
> *third form extends basic*
>
> quantity
>
The validation object is tied to the controller, so i'd just make a bunch
of methods/helpers that add a bunch of fields to it.
https://github.com/kraih/mojo-pg/blob/master/examples/blog/lib/Blog/Controller/Posts.pm#L49-L57
Perhaps have it return the controller instance instead of the validation.
$c->_basics->_accommodations->_events;
return $c->render(...) if $c->validation->has_error;
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.