Hi, First you need to create the formfu tt files by running the command: script/myapp_create.pl HTML::FormFu They end up in root/formfu. Second, in the yml you only need to add: render_method: tt
In my particular case the form was wrapped by ul tags (form<https://gist.github.com/935475> ). Fields are wrapped by li tags (field <https://gist.github.com/935491>). HTH, Marc On Thu, Apr 21, 2011 at 4:30 PM, J. Bobby Lopez <j...@jbldata.com> wrote: > I was able to get close to what I want using type=Radiogroup, but I've run > into another issue with that. Maybe TT is the right way to go if I want > complete control over the layout? > > Would you have any example .yml files and .tt files that should how you use > formfu with TT? > > Here's the other issue I ran into with straight FormFu - I'm trying to get > the text input box and the submit button on the same line. See link for > example: > http://www.flickr.com/photos/28669980@N05/5640212747/in/photostream > > > > > On Thu, Apr 21, 2011 at 3:09 AM, Marc Logghe <logghe.m...@gmail.com>wrote: > >> I achieved this by using the render_method = tt and customizing the formfu >> templates >> >> On Wed, Apr 20, 2011 at 11:11 PM, J. Bobby Lopez <j...@jbldata.com> wrote: >> >>> Maybe I had the first question backwards... I'd like element first, then >>> the label :\ >>> >>> >>> On Wed, Apr 20, 2011 at 5:09 PM, J. Bobby Lopez <j...@jbldata.com> wrote: >>> >>>> Hello, >>>> >>>> I'm just starting out with FormFu, and am looking for a way to place >>>> element labels before the element (not afterward) from within the .yml >>>> file. >>>> >>>> Also, for radio buttons; is there a way to have multiple radio buttons >>>> on a single line without any line breaks, or does this stuff all have to be >>>> done via CSS somehow? >>>> >>>> Thanks, >>>> -Bobby >>>> >>> >>> >>> _______________________________________________ >>> HTML-FormFu mailing list >>> HTML-FormFu@lists.scsys.co.uk >>> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu >>> >> >> >> _______________________________________________ >> HTML-FormFu mailing list >> HTML-FormFu@lists.scsys.co.uk >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu >> > > > _______________________________________________ > HTML-FormFu mailing list > HTML-FormFu@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu >
_______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu