streams/view/tpl/smarty3/field_checkbox.tpl

7 lines
256 B
Smarty
Raw Normal View History

2013-01-11 17:00:26 +00:00
2013-01-06 21:42:51 +00:00
<div class='field checkbox'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}>
<span class='field_help'>{{$field.3}}</span>
</div>