mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 16:18:26 -04:00
12 lines
523 B
HTML
12 lines
523 B
HTML
|
|
{% macro page_footer(button_text=None, back_link=False, back_link_text="Back", destructive=False) %}
|
||
|
|
<div class="page-footer">
|
||
|
|
{% if button_text %}
|
||
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||
|
|
<input type="submit" class="button{% if destructive %}-destructive{% endif %}" value="{{ button_text }}" />
|
||
|
|
{% endif %}
|
||
|
|
{% if back_link %}
|
||
|
|
<a class="page-footer-back-link" role="button" href="{{ back_link }}">{{ back_link_text }}</a>
|
||
|
|
{% endif %}
|
||
|
|
</div>
|
||
|
|
{% endmacro %}
|