forked from beba/foerderbarometer
buttons in input form displaying 'Weiter', if last step then displaying 'Absenden'
This commit is contained in:
parent
8d6be910f3
commit
372bd32395
|
@ -52,7 +52,11 @@ Du hast {{choice}} ausgewählt.
|
||||||
{% if wizard.steps.prev %}
|
{% if wizard.steps.prev %}
|
||||||
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">Zurück</button>
|
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">Zurück</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if wizard.steps.current == wizard.steps.last %}
|
||||||
|
<button type="submit" value="{% trans "Weiter" %}">Absenden</button>
|
||||||
|
{% else %}
|
||||||
<button type="submit" value="{% trans "Weiter" %}">Weiter</button>
|
<button type="submit" value="{% trans "Weiter" %}">Weiter</button>
|
||||||
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<p>
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Figuren_klein.jpg"><p>
|
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Figuren_klein.jpg"><p>
|
||||||
|
|
Loading…
Reference in New Issue