##// END OF EJS Templates
vcs-settings: moved creation of largefiles default dirs into vcs settings view....
vcs-settings: moved creation of largefiles default dirs into vcs settings view. - couldn't find a better place to do this - check is cheap, and moving it out from AppStart to here makes more sense - users need to enable largefile form this view, so enforcing defaults dirs makes most sense right here in this view.

File last commit:

r518:9f9ffd3a default
r1682:9db59bee default
Show More
textinput.pt
22 lines | 928 B | text/plain | TextLexer
<span tal:define="name name|field.name;
css_class css_class|field.widget.css_class;
oid oid|field.oid;
mask mask|field.widget.mask;
placeholder placeholder|field.widget.placeholder|field.placeholder|'';
mask_placeholder mask_placeholder|field.widget.mask_placeholder;
style style|field.widget.style;
"
tal:omit-tag="">
<input type="text" name="${name}" value="${cstruct}"
tal:attributes="class string: form-control ${css_class or ''};
style style"
placeholder="${placeholder}"
id="${oid}"/>
<script tal:condition="mask" type="text/javascript">
deform.addCallback(
'${oid}',
function (oid) {
$("#" + oid).mask("${mask}",
{placeholder:"${mask_placeholder}"});
});
</script>
</span>