##// END OF EJS Templates
pyramid: if possible fetch csrf tokens from pyramid session....
pyramid: if possible fetch csrf tokens from pyramid session. - we need to explicitly pass in requests into secure forms - allows to not use pylons global session for fetching csrf tokens

File last commit:

r1910:45702bf2 default
r1918:de4c5093 default
Show More
permissions_global.mako
10 lines | 354 B | application/x-mako | MakoHtmlLexer
${h.secure_form(h.url('admin_permissions_global'), method='post')}
<div class="form permissions-global">
<!-- fields -->
<div class="fields">
<%namespace name="dpb" file="/base/default_perms_box.mako"/>
${dpb.default_perms_radios(global_permissions_template = True)}
</div>
</div>
${h.end_form()}