8 Oct
2002
8 Oct
'02
3:54 p.m.
Joachim Schmitz wrote:
<input type="checkbox" name="accept:list" value="xxx" CHECKED tal:attributes="value qa/id"/>
where the "CHECKED" is dynamically generated
All "boolean" HTML attributes can be switched on and off with a boolean tal:attributes value, like so: <input type="checkbox" name="accept:list" value="xxx" tal:attributes="value qa/id; checked python: path('qa/status') == 'accepted'" /> Cheers, Evan @ 4-am