/share/templates/widget/radio.tt
text | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | 2af61342f033427acce9bfa894127983 MD5 | raw file
1<label class="label [% IF f.has_errors %]fld_error[% END %]" for="[% f.html_name %]">[% f.label %]</label> 2[% FOR option IN f.options %] 3 <input type="radio" value="[% option.label %]" 4 [% IF option.value == f.fif %] selected="selected"[% END %]> 5 [% option.label | html %]> 6[% END %] 7