mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 02:06:03 +02:00
Change next button to submit on last page
This commit is contained in:
parent
fe6aa96a02
commit
fae6d49b02
1 changed files with 7 additions and 2 deletions
|
@ -17,8 +17,13 @@
|
|||
{% endif %}
|
||||
<h1> {{form_titles|get_item:wizard.steps.current}} </h1>
|
||||
{% block form_content %}
|
||||
<button type="submit" class="usa-button">Next</button>
|
||||
<button type="button" class="usa-button usa-button--outline">Save</button>
|
||||
{% 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue