##// END OF EJS Templates
auth: use cache_ttl from a plugin to also cache permissions....
auth: use cache_ttl from a plugin to also cache permissions. - this gives a 30% speed increase in operations like svn commit - generally uses the same mechanismy like auth cache to cache permissions for faster access to vcs commands

File last commit:

r713:5a67f5a8 default
r2154:574d07a8 default
Show More
checked_password.pt
27 lines | 1004 B | text/plain | TextLexer
dan
ux: change confirm password widget to have spacing between the...
r713 <div i18n:domain="deform" tal:omit-tag=""
tal:define="oid oid|field.oid;
name name|field.name;
css_class css_class|field.widget.css_class;
style style|field.widget.style">
${field.start_mapping()}
<div class="form-group">
<input type="password"
name="${name}"
value="${field.widget.redisplay and cstruct or ''}"
tal:attributes="class string: form-control ${css_class or ''};
style style;"
id="${oid}"
i18n:attributes="placeholder"
placeholder="Password"/>
</div>
<div class="form-group">
<input type="password"
name="${name}-confirm"
value="${field.widget.redisplay and confirm or ''}"
tal:attributes="class string: form-control ${css_class or ''};
style style;"
id="${oid}-confirm"
i18n:attributes="placeholder"
placeholder="Confirm Password"/>
</div>
${field.end_mapping()}
</div>