mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 19:10:42 -04:00
So that users can see what it the flow is like to: - add new templates - edit existing templates
10 lines
372 B
HTML
10 lines
372 B
HTML
{% macro submit_form(button_text, back_link=False) %}
|
|
<div class="submit-form">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
<input type="submit" class="button" value="{{ button_text }}" />
|
|
{% if back_link %}
|
|
<a class="submit-form-back-link" role="button" href="{{ back_link }}">Back</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endmacro %}
|