summaryrefslogtreecommitdiff
path: root/lib/grappelli/templates/admin/submit_line.html
blob: 4f06ac581ba2f1be216c232d36bb20703657d6fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{% load i18n %}
<div class="module footer">
    <ul class="submit-row">
        {% if show_delete_link %}<li class="left delete-link-container"><a href="delete/" class="delete-link">Delete</a></li>{% endif %}
        {% comment %}<li class="left cancel-link-container"><a href="#" class="cancel-link">Cancel</a></li>{% endcomment %}
        {% if show_save %}<li class="submit-button-container"><input type="submit" value="{% trans 'Save' %}" class="default" name="_save" {{ onclick_attrib }}/></li>{% endif %}
        {% if show_save_as_new %}<li class="submit-button-container"><input type="submit" value="{% trans 'Save as new' %}" name="_saveasnew" {{ onclick_attrib }}/></li>{% endif %}
        {% if show_save_and_add_another %}<li class="submit-button-container"><input type="submit" value="{% trans 'Save and add another' %}" name="_addanother" {{ onclick_attrib }} /></li>{% endif %}
        {% if show_save_and_continue %}<li class="submit-button-container"><input type="submit" value="{% trans 'Save and continue editing' %}" name="_continue" {{ onclick_attrib }}/></li>{% endif %}
        {% comment %}<li><input type="reset" value="Reset" /></li>{% endcomment %}
    </ul><br clear="all" />
</div>