diff --git a/passbook/core/templates/generic/autosubmit_form_full.html b/passbook/core/templates/generic/autosubmit_form_full.html new file mode 100644 index 0000000000..687e765654 --- /dev/null +++ b/passbook/core/templates/generic/autosubmit_form_full.html @@ -0,0 +1,34 @@ +{% extends "login/base_full.html" %} + +{% load passbook_utils %} +{% load i18n %} + +{% block title %} +{{ title }} +{% endblock %} + +{% block card %} +
+ {% csrf_token %} + {% for key, value in attrs.items %} + + {% endfor %} +
+
+ + + + + +
+
+
+
+ +
+
+
+ +{% endblock %} diff --git a/passbook/sources/saml/views.py b/passbook/sources/saml/views.py index 8890995968..313d27d8ce 100644 --- a/passbook/sources/saml/views.py +++ b/passbook/sources/saml/views.py @@ -53,7 +53,7 @@ class InitiateView(View): if source.binding_type == SAMLBindingTypes.POST_AUTO: return render( request, - "generic/autosubmit_form.html", + "generic/autosubmit_form_full.html", { "title": _("Redirecting to %(app)s..." % {"app": source.name}), "attrs": {"SAMLRequest": saml_request, "RelayState": relay_state},