summaryrefslogtreecommitdiff
path: root/tbc/static/admin/templates/admin/submit_line.html
diff options
context:
space:
mode:
Diffstat (limited to 'tbc/static/admin/templates/admin/submit_line.html')
-rw-r--r--tbc/static/admin/templates/admin/submit_line.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/tbc/static/admin/templates/admin/submit_line.html b/tbc/static/admin/templates/admin/submit_line.html
new file mode 100644
index 0000000..d6db711
--- /dev/null
+++ b/tbc/static/admin/templates/admin/submit_line.html
@@ -0,0 +1,11 @@
+{% load i18n admin_urls %}
+<div class="submit-row">
+{% if show_save %}<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" />{% endif %}
+{% if show_delete_link %}
+ {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
+ <p class="deletelink-box"><a href="{% add_preserved_filters delete_url %}" class="deletelink">{% trans "Delete" %}</a></p>
+{% endif %}
+{% if show_save_as_new %}<input type="submit" value="{% trans 'Save as new' %}" name="_saveasnew" />{% endif %}
+{% if show_save_and_add_another %}<input type="submit" value="{% trans 'Save and add another' %}" name="_addanother" />{% endif %}
+{% if show_save_and_continue %}<input type="submit" value="{% trans 'Save and continue editing' %}" name="_continue" />{% endif %}
+</div>