summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin/submit_line.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /app/lib/grappelli/templates/admin/submit_line.html
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'app/lib/grappelli/templates/admin/submit_line.html')
-rw-r--r--app/lib/grappelli/templates/admin/submit_line.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/lib/grappelli/templates/admin/submit_line.html b/app/lib/grappelli/templates/admin/submit_line.html
new file mode 100644
index 0000000..4f06ac5
--- /dev/null
+++ b/app/lib/grappelli/templates/admin/submit_line.html
@@ -0,0 +1,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>