##// END OF EJS Templates
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in request, and removed redundant 'POST' type.

File last commit:

r2105:4ad1a937 default
r2105:4ad1a937 default
Show More
settings_mapping.mako
28 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
r2105 ${h.secure_form(h.url('admin_settings_mapping'), request=request)}
templating: use .mako as extensions for template files.
r1282
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Import New Groups or Repositories')}</h3>
</div>
<div class="panel-body">
<div class="checkbox">
${h.checkbox('destroy',True)}
<label for="destroy">${_('Destroy old data')}</label>
</div>
<span class="help-block">${_('In case a repository or a group was deleted from the filesystem and it still exists in the database, check this option to remove obsolete data from the database.')}</span>
<div class="checkbox">
${h.checkbox('invalidate',True)}
<label for="invalidate"> ${_('Invalidate cache for all repositories')}</label>
</div>
<span class="help-block">${_('Each cache data for repositories will be cleaned with this option selected. Use this to reload data and clear cache keys.')}</span>
<div class="buttons">
${h.submit('rescan',_('Rescan Filesystem'),class_="btn")}
</div>
</div>
</div>
${h.end_form()}