##// END OF EJS Templates
Added tag v4.18.0 for changeset f37a31265704
Added tag v4.18.0 for changeset f37a31265704

File last commit:

r2558:572d9909 default
r4183:d394ce60 stable
Show More
25 lines | 912 B | text/plain | TextLexer
<span tal:define="name name|field.name;
true_val true_val|field.widget.true_val;
css_class css_class|field.widget.css_class;
style style|field.widget.style;
oid oid|field.oid;
help_block help_block|field.widget.help_block|'';
<div class="checkbox">
<input type="checkbox" name="${name}" value="${true_val}"
tal:attributes="checked cstruct == true_val;
class css_class;
style style;"
<p tal:condition="help_block" class="help-block">${help_block}</p>
<label for="${field.oid}">
<span tal:condition="hasattr(field, 'schema') and hasattr(field.schema, 'label')"
tal:replace="field.schema.label" class="checkbox-label" >