[html-formfu] Using TT directives inside a rendered form
Michele Beltrame
mb at cattlegrid.info
Thu Aug 27 07:39:44 GMT 2009
Hi!
> (yes I use Perl rather than YAML for my form definitions)
I use Perl as well, I think it's way easier to maintain, prettier and
more powerful than YAML.
> Then in my template I have:
>
> [...]
>
> The alternatives seem to involve some ugly form manipulation inside the
> controller, just to do something that is really presentation based,
> or some nasty CSS to push the note inside the form. This approach helps
> to maintain the separation of concerns and doesn't trash the pages
> accessibility.
Thanks for sharing this. In many cases, for presentational things, I
just use some JavaScript to manipulate the form DOM as I want - it's
quite easy and works well!
Later,
Michele.
--
Michele Beltrame
http://www.italpro.net/ - mb at italpro.net
SkyPe: arthas77 - Twitter: _arthas
More information about the HTML-FormFu
mailing list