Change next button to submit on last page

This commit is contained in:
igorkorenfeld 2022-11-08 17:15:15 -05:00
parent fe6aa96a02
commit fae6d49b02
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -17,8 +17,13 @@
{% endif %}
<h1> {{form_titles|get_item:wizard.steps.current}} </h1>
{% block form_content %}
{% if wizard.steps.next %}
<button type="submit" class="usa-button">Next</button>
<button type="button" class="usa-button usa-button--outline">Save</button>
{% else %}
<button type="submit" class="usa-button">Submit</button>
<button type="button" class="usa-button usa-button--outline">Save</button>
{% endif %}
{% endblock %}
</div>
</div>