##// END OF EJS Templates
routing: use a common method to extract the f_path for repo views....
routing: use a common method to extract the f_path for repo views. The extra slashes can cause odd issues with GIT, the previous pylons code had a fix in routing. This ports this fix into pyramid helper in base app.

File last commit:

r518:9f9ffd3a default
r1929:0c7b3df6 default
Show More
checkbox.pt
19 lines | 748 B | text/plain | TextLexer
dan
forms: add deform for integration settings forms
r518 <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>