##// END OF EJS Templates
templates: Add an extension point to the authn plugin settings template....
johbo -
r88:8177bcae default
parent child Browse files
Show More
@@ -49,6 +49,7 b''
49 49 <div class="fields">
50 50 ${h.secure_form(request.resource_path(resource, route_name='auth_home'))}
51 51 <div class="form">
52
52 53 %for node in plugin.get_settings_schema():
53 54 <% label_css_class = ("label-checkbox" if (node.widget == "bool") else "") %>
54 55 <div class="field">
@@ -75,9 +76,17 b''
75 76 </div>
76 77 </div>
77 78 %endfor
79
80 ## Allow derived templates to add something below the form
81 ## input fields
82 %if hasattr(next, 'below_form_fields'):
83 ${next.below_form_fields()}
84 %endif
85
78 86 <div class="buttons">
79 87 ${h.submit('save',_('Save'),class_="btn")}
80 88 </div>
89
81 90 </div>
82 91 ${h.end_form()}
83 92 </div>
General Comments 0
You need to be logged in to leave comments. Login now