blob: 8c0e112db65a66100bae0c54d431825e694e5e27 [file] [log] [blame]
Scott Baker503b0222015-05-21 10:24:13 -07001{% load i18n %}
Matteo Scandoloc06e6452016-02-04 15:21:36 -08002<div class="form-buttons clearfix">
3 {% if show_save %}<button type="submit" class="btn btn-high btn-success" name="_save">{% trans 'Save' %}</button>{% endif %}
4 {% if show_save_and_continue %}<button type="submit" name="_continue" class=" btn btn-high btn-info">{% trans 'Save and continue editing' %}</button>{% endif %}
5 {% if show_save_as_new %}<button type="submit" name="_saveasnew" class="btn btn-info">{% trans 'Save as new' %}</button>{%endif%}
6 {% if show_save_and_add_another %}<button type="submit" name="_addanother" class="btn btn-info">{% trans 'Save and add another' %}</button>{% endif %}
Scott Baker503b0222015-05-21 10:24:13 -07007
8 {% if show_delete_link %}
9 {% if custom_delete_url %}
10 <a href="{{ custom_delete_url }}" class="text-error deletelink">{% trans "Delete" %}</a>
11 {% else %}
12 <a href="delete/" class="text-error deletelink">{% trans "Delete" %}</a>
13 {% endif %}
14 {% endif %}
15</div>