mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 21:21:14 -04:00
Adds the pages and wires them together, so that it’s possible to click through them. The wording is not quite English, but attempts to be an rough description of what the consequences are for each of the four actions.
10 lines
473 B
HTML
10 lines
473 B
HTML
{% macro submit_form(button_text, back_link=False, back_link_text="Back", destructive=False) %}
|
|
<div class="submit-form">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
<input type="submit" class="button{% if destructive %}-destructive{% endif %}" value="{{ button_text }}" />
|
|
{% if back_link %}
|
|
<a class="submit-form-back-link" role="button" href="{{ back_link }}">{{ back_link_text }}</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endmacro %}
|