##// END OF EJS Templates
dependencies: bumped test libraries versions....
dependencies: bumped test libraries versions. - pytest to 3.2.3 - pytest-sugar to 0.9.0 - pytest-profiling to 1.2.11 - WebTest to 2.0.29 - gprof2dot to 2017.9.19

File last commit:

r518:9f9ffd3a default
r2274:37f054de default
Show More
checkbox.pt
19 lines | 748 B | text/plain | TextLexer
<div class="checkbox">
<input 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"
type="checkbox"
name="${name}" value="${true_val}"
id="${oid}"
tal:attributes="checked cstruct == true_val;
class css_class;
style style;" />
<label for="${field.oid}">
<span tal:condition="hasattr(field, 'schema') and hasattr(field.schema, 'label')"
tal:replace="field.schema.label" class="checkbox-label" >
</span>
</label>
</div>