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 000000000..687e76565 --- /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 889099596..313d27d8c 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},