flows: fix FlowNonApplicableException and EmptyFlowException leading to infinite spinners

This commit is contained in:
Jens Langhammer
2020-09-14 18:40:26 +02:00
parent 2c07859b68
commit 5184c4b7ef
4 changed files with 36 additions and 8 deletions

View File

@ -0,0 +1,25 @@
{# Template used by bad_request_message within flows #}
{% extends 'login/base.html' %}
{% load static %}
{% load i18n %}
{% load passbook_utils %}
{% block title %}
{% trans card_title %}
{% endblock %}
{% block card_title %}
{% trans card_title %}
{% endblock %}
{% block card %}
<form method="POST" class="pf-c-form">
{% if message %}
<h3>{% trans message %}</h3>
{% endif %}
{% if 'back' in request.GET %}
<a href="{% back %}" class="btn btn-primary btn-block btn-lg">{% trans 'Back' %}</a>
{% endif %}
</form>
{% endblock %}