template centered, start button removed

This commit is contained in:
Benni Baermann 2020-11-02 12:21:41 +01:00
parent 8d4ba91d52
commit 03a413cb44

View file

@ -12,7 +12,8 @@
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}
<img src="{% static 'input/logo.png' %}" /> <center>
<img src="{% static 'input/logo.png' %}" />
<p>Schritt {{ wizard.steps.step1 }} von {{ wizard.steps.count }}</p> <p>Schritt {{ wizard.steps.step1 }} von {{ wizard.steps.count }}</p>
<form action="" method="post"> <form action="" method="post">
{% csrf_token %} {% csrf_token %}
@ -28,9 +29,8 @@
{% endif %} {% endif %}
</table> </table>
{% if wizard.steps.prev %} {% if wizard.steps.prev %}
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.first }}">{% trans "Anfang" %}</button>
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% trans "Zurück" %}</button> <button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% trans "Zurück" %}</button>
{% endif %} {% endif %}
<input type="submit" value="{% trans "Abschicken" %}"/> <input type="submit" value="{% trans "Abschicken" %}"/>
</form> </form>
{% endblock %} </center>{% endblock %}