##// 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 <div class="fields">
49 <div class="fields">
50 ${h.secure_form(request.resource_path(resource, route_name='auth_home'))}
50 ${h.secure_form(request.resource_path(resource, route_name='auth_home'))}
51 <div class="form">
51 <div class="form">
52
52 %for node in plugin.get_settings_schema():
53 %for node in plugin.get_settings_schema():
53 <% label_css_class = ("label-checkbox" if (node.widget == "bool") else "") %>
54 <% label_css_class = ("label-checkbox" if (node.widget == "bool") else "") %>
54 <div class="field">
55 <div class="field">
@@ -75,9 +76,17 b''
75 </div>
76 </div>
76 </div>
77 </div>
77 %endfor
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 <div class="buttons">
86 <div class="buttons">
79 ${h.submit('save',_('Save'),class_="btn")}
87 ${h.submit('save',_('Save'),class_="btn")}
80 </div>
88 </div>
89
81 </div>
90 </div>
82 ${h.end_form()}
91 ${h.end_form()}
83 </div>
92 </div>
General Comments 0
You need to be logged in to leave comments. Login now