mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +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 %}
|
{% endif %}
|
||||||
<h1> {{form_titles|get_item:wizard.steps.current}} </h1>
|
<h1> {{form_titles|get_item:wizard.steps.current}} </h1>
|
||||||
{% block form_content %}
|
{% block form_content %}
|
||||||
<button type="submit" class="usa-button">Next</button>
|
{% if wizard.steps.next %}
|
||||||
<button type="button" class="usa-button usa-button--outline">Save</button>
|
<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 %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue