diff --git a/gatekeeper/views.py b/gatekeeper/views.py index 0a174e0..e7877ab 100644 --- a/gatekeeper/views.py +++ b/gatekeeper/views.py @@ -196,7 +196,7 @@ def view_manage_auth_method(request): 'page_title': title, 'form_description': form_description, } - return render(request, 'generic_form.html', context) + return render(request, 'gatekeeper/gatekeeper_auth_method_form.html', context) @login_required diff --git a/templates/gatekeeper/gatekeeper_auth_method_form.html b/templates/gatekeeper/gatekeeper_auth_method_form.html new file mode 100644 index 0000000..df995b1 --- /dev/null +++ b/templates/gatekeeper/gatekeeper_auth_method_form.html @@ -0,0 +1,40 @@ +{% extends 'base.html' %} +{% load crispy_forms_tags %} + +{% block content %} +
+
+
+ {% if page_title %} +
+

{{ page_title }}

+
+ {% endif %} +
+
+ {% csrf_token %} + {% crispy form %} +
+
+
+
+ + {% if form_description %} +
+
+ +
+
+ {{ form_description.content|safe }} +
+
+
+
+ {% endif %} + +
+{% endblock %} + +{% block custom_page_scripts %} + +{% endblock %} \ No newline at end of file