Even better would be:

  <input class="radio" type="radio" name="recipe_type" value="Warmup" [% IF 
flags && 16 %]checked=“checked"[% END %] />Warmup


From: Bill McCormick <wpmccorm...@gmail.com<mailto:wpmccorm...@gmail.com>>
Date: Fri, 5 Dec 2014 08:38:35 -0600
To: <templates@template-toolkit.org<mailto:templates@template-toolkit.org>>
Subject: [Templates] setting <input> checked

[% IF flags && 16 %]
  <input class="radio" type="radio" name="recipe_type" value="Warmup" 
checked="1" />Warmup
[% ELSE %]
  <input class="radio" type="radio" name="recipe_type" value="Warmup" />Warmup
[% END %]
This e-mail has been scanned for all viruses by Star.
_______________________________________________ templates mailing list 
templates@template-toolkit.org<mailto:templates@template-toolkit.org> 
http://mail.template-toolkit.org/mailman/listinfo/templates

This e-mail has been scanned for all viruses by Star.
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to