ldapsaisie/public_html/templates/default/LSformElement_boolean_field.tpl

6 lines
434 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}
2018-06-15 15:25:25 +02:00
<input type='radio' value='yes' name='{$attr_name|escape:"htmlall"}[0]' {if $value=='yes'}checked="true"{/if} />{$yesTxt|escape:"htmlall"} <input type='radio' value='no' name='{$attr_name|escape:"htmlall"}[0]' {if $value=='no'}checked="true"{/if} /> {$noTxt|escape:"htmlall"}
{/if}