ldapsaisie/public_html/templates/default/LSformElement_boolean_field.tpl

6 lines
432 B
Smarty
Raw Normal View History

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