/share/templates/widget/checkbox.tt

http://github.com/gshank/html-formhandler · TemplateToolkit · 2 lines · 2 code · 0 blank · 0 comment · 1 complexity · 5e4852fdd769cb3db3703b707a3a96dd MD5 · raw file

  1. <input type="checkbox" name="[% f.html_name %]" id="[% f.id %] value="[% f.checkbox_value %]"
  2. [% IF f.fif == f.checkbox_value %]selected="selected"[% END %]>