ldapsaisie/public_html/templates/default/LSformElement_boolean_field.tpl
2009-11-13 14:26:11 +01:00

5 lines
315 B
Smarty

{if $freeze}
{if $value=='yes'}{$yesTxt}{elseif $value=='no'}{$noTxt}{else}{$noValueTxt}{/if}
{else}
<input type='radio' value='yes' name='{$attr_name}[0]' {if $value=='yes'}checked="true"{/if} />{$yesTxt} <input type='radio' value='no' name='{$attr_name}[0]' {if $value=='no'}checked="true"{/if} /> {$noTxt}
{/if}