summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/auth')
-rw-r--r--ogcp/templates/auth/user_form.html13
1 files changed, 1 insertions, 12 deletions
diff --git a/ogcp/templates/auth/user_form.html b/ogcp/templates/auth/user_form.html
index bd2f396..ae34490 100644
--- a/ogcp/templates/auth/user_form.html
+++ b/ogcp/templates/auth/user_form.html
@@ -104,18 +104,7 @@
</table>
</div>
- <div class="form-group">
- {{ form.scopes.label(class_='form-label') }}
- <div class="form-text text-muted">{{ form.scopes.description }}</div>
- <div>
- {% for value, label, checked in form.scopes.iter_choices() %}
- <div class="form-check">
- <input class="form-check-input" type="checkbox" name="{{ form.scopes.name }}" value="{{ value }}" {% if checked %} checked {% endif %}>
- <label class="form-check-label">{{ label }}</label>
- </div>
- {% endfor %}
- </div>
- </div>
+ {% include 'scopes_checkbox_group.html' %}
</div>
<div class="form-group">