##// END OF EJS Templates
authn: Generate the form default values manually....
authn: Generate the form default values manually. When using colander.flatten(data) it adds colander.null for each missing form field. But this is not correct. What we want here is a dict wich contains only the keys/values from request.params that match a form field.

File last commit:

r1:854a839a default
r291:3526ca25 default
Show More
permissions_global.html
10 lines | 352 B | text/html | HtmlLexer
${h.secure_form(url('admin_permissions_global'), method='post')}
<div class="form permissions-global">
<!-- fields -->
<div class="fields">
<%namespace name="dpb" file="/base/default_perms_box.html"/>
${dpb.default_perms_radios(global_permissions_template = True)}
</div>
</div>
${h.end_form()}