I too am interested in a more detailed explanation of form formatters and their usage when one simply does <?php echo $form; ?> Google wasn't of much help regarding this matter, so does anybody know of a reliable information source (aside from reading the code itself) on how to use decorators?
On Apr 18, 9:57 am, naholyr <naho...@gmail.com> wrote: > Maybe you could try a fully explicit insertion of the form (with > helpers for labels, helps, errors, etc...) as described here in the > chapter "forms for web designers" > :http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers > > On 18 avr, 05:03, ckemmler <ckemm...@gmail.com> wrote: > > > I did that. But the problem I have is that the forms are dynamic, i.e. > > they can include error messages for example. Thus, what I need is a > > formatter. The documentation seems to be incomplete in that regard. It > > speaks of setting a form formatter (I tried the "list" one, but it > > didn't work) and also that it's going to explain more about custom > > formatting a form in Chapter 5, which doesn't exist! > > > You can see what I did athttp://www.twittbook.com(thesignin form), > > but it's broken, as it is (it just resets the form in case of an > > error). > > > On Apr 17, 7:33 pm, "Nathanael D. Noblet" <nathan...@gnat.ca> wrote: > > > > ckemmler wrote: > > > > I mean: just the form, not the layout of the entire page > > > > Create a module in your application with the same name as the module in > > > the plugin, then create a templates folder, with a template for that > > > action. > > > > -- > > > Nathanael d. Noblet > > > T: 403.875.4613 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---