15 lines
723 B
Smarty
15 lines
723 B
Smarty
<label>{$input.title} : </label>
|
|
|
|
<div class="margin-form">
|
|
|
|
<input name="{$input.name}" id="{$input.name}_on" value="1" type="radio" {if $input.value == '1'}checked="checked"{/if} {$input.html_attrs} >
|
|
<label class="t" for="{$input.name}_on" ><img src="../img/admin/enabled.gif" alt="Activé" title="Activé"></label>
|
|
|
|
<input name="{$input.name}" id="{$input.name}_off" value="0" type="radio" {if $input.value != '1'}checked="checked"{/if} {$input.html_attrs} >
|
|
<label class="t" for="{$input.name}_off"><img src="../img/admin/disabled.gif" alt="Désactivé" title="Désactivé"></label>
|
|
|
|
{if isset($input.required) && $input.required}
|
|
<sup> *</sup>
|
|
{/if}
|
|
|
|
</div> |