I'm using the h.field to represent fields on the html
${h.field(
"card Expiration Month",
h.select("cardExpirationMonth","initial
value",c.credexpiremonths),
)}
${h.field(
"card Expiration Year
h.select("cardExpirationYearnitial value",c.credexpireyears),
)}
This renders:
card Expiration Month [ ]
card Expiration Year [ ]
I would like to represent the data as
card expiration [07] [2010]
I dont know how to put the h.fields on the same row? I know I could
use table in html just thought is there
a way to accomplish this in pylons?
Thanks,
garyc
h.field got removed in 0.6.4, wasn't it?
Anyway, you can just lay it out yourself - and use CSS instead of tables.
You could probably mimic the HTML code as being output by the field helper.
Consult the source for details
http://hg.splee.co.uk/webhelpers/src/31e6eed7a527/webhelpers/html/form_layout.py
--
Paweł Stradomski