##// END OF EJS Templates
Bump version: 5.1.1 → 5.1.2
Bump version: 5.1.1 → 5.1.2

File last commit:

r4314:9d74b996 default
r5520:dc5e54b5 stable
Show More
checkbox_choice_desc.pt
26 lines | 991 B | text/plain | TextLexer
/ rhodecode / templates / forms / checkbox_choice_desc.pt
events: added support for pull-request-comment and commit-comment events....
r4314 <div tal:define="css_class css_class|field.widget.css_class;
style style|field.widget.style;
oid oid|field.oid;
inline getattr(field.widget, 'inline', False)"
tal:omit-tag="not inline">
${field.start_sequence()}
<div tal:repeat="choice values | field.widget.values"
tal:omit-tag="inline"
class="checkbox">
<div tal:define="(value, title, help_block) choice">
<input tal:attributes="checked value in cstruct;
class css_class;
style style"
type="checkbox"
name="checkbox"
value="${value}"
id="${oid}-${repeat.choice.index}"/>
<label for="${oid}-${repeat.choice.index}"
tal:attributes="class inline and 'checkbox-inline'">
${title}
</label>
<p tal:condition="help_block" class="help-block">${help_block}</p>
</div>
</div>
${field.end_sequence()}
</div>