Do not show previous button on first step of form

This commit is contained in:
leigh-mil 2019-07-18 09:49:52 -04:00
parent aa25f671e3
commit 3f8ade0dc9

View File

@ -19,9 +19,11 @@
class="usa-button usa-button-primary">
{% endblock %}
<a class="usa-button usa-button-secondary" href="{{ previous_button_link }}">
Previous
</a>
{% if step != "1" %}
<a class="usa-button usa-button-secondary" href="{{ previous_button_link }}">
Previous
</a>
{% endif %}
<a
href="{{ cancel_url }}"