##// END OF EJS Templates
core: avoid using rhodecode.test packages inside main packages as tests are removed during build which can cause some problems in some edge case calls
core: avoid using rhodecode.test packages inside main packages as tests are removed during build which can cause some problems in some edge case calls

File last commit:

r2558:572d9909 default
r5618:bdbdb63f default
Show More
checkbox.pt
25 lines | 912 B | text/plain | TextLexer
form-templates: allow checkboxes to have help block.
r2558 <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|'';
"
tal:omit-tag="">
dan
forms: add deform for integration settings forms
r518 <div class="checkbox">
form-templates: allow checkboxes to have help block.
r2558 <input type="checkbox" name="${name}" value="${true_val}"
id="${oid}"
tal:attributes="checked cstruct == true_val;
class css_class;
style style;"
/>
<p tal:condition="help_block" class="help-block">${help_block}</p>
dan
forms: add deform for integration settings forms
r518 <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>
form-templates: allow checkboxes to have help block.
r2558 </div>
</span>