dir/view/field_checkbox.tpl

7 lines
263 B
Smarty
Raw Normal View History

2011-06-13 18:03:06 +02:00
<div class='field checkbox' id='div_id_$field.0'>
2011-06-13 18:03:06 +02:00
<label for='id_$field.0'>$field.1</label>
2012-04-14 01:12:06 +02:00
<input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}>
2011-06-13 18:03:06 +02:00
<span class='field_help'>$field.3</span>
</div>