VoiceAssist / templates /admin /submit_line.html
thejagstudio's picture
Upload 243 files
2e53f8d verified
{% load i18n admin_urls %}
<div class="submit-row">
{% block submit-row %}
{% if show_save %}
<input
type="submit"
value="{% translate 'Save' %}"
class="default"
name="_save"
>
{% endif %}
{% if show_delete_link and original %}
{% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
<p class="deletelink-box h-16">
<a href="{% add_preserved_filters delete_url %}" class="deletelink h-full">{% translate "Delete" %}</a>
</p>
{% endif %}
{% if show_save_as_new %}
<input type="submit" value="{% translate 'Save as new' %}" name="_saveasnew">
{% endif %}
{% if show_save_and_add_another %}
<input type="submit" value="{% translate 'Save and add another' %}" name="_addanother">
{% endif %}
{% if show_save_and_continue %}
<input type="submit" value="{% if can_change %}{% translate 'Save and continue editing' %}{% else %}{% translate 'Save and view' %}{% endif %}" name="_continue">
{% endif %}
{% if show_close %}
<a href="{% url opts|admin_urlname:'changelist' %}" class="closelink">{% translate 'Close' %}</a>
{% endif %}
{% endblock %}
</div>