Update SaveButton to be either an input or a button element, and restore inputs that were previously switched to buttons

This commit is contained in:
leigh-mil
2019-04-04 13:29:15 -04:00
parent 850153a517
commit f3ea704c1b
5 changed files with 10 additions and 8 deletions

View File

@@ -60,7 +60,7 @@
{{ Icon("x") }}
<span>Cancel</span>
</a>
{{ SaveButton(text='Save Changes') }}
{{ SaveButton(text='Save Changes', element="input") }}
</div>
</div>
</template>

View File

@@ -103,7 +103,7 @@
{% endblock %}
<div class='action-group'>
{{ SaveButton(text="Continue") }}
{{ SaveButton(text="Continue", element="input") }}
</div>
</form>

View File

@@ -32,7 +32,7 @@
{{ MultiCheckboxInput(form.required_distribution) }}
<div class="action-group">
{{ SaveButton(text='Continue') }}
{{ SaveButton(text='Continue', additional_classes="usa-button-big") }}
</div>
</form>
</div>