fournee/fournée/templates/admin/fournée_submit_line.html
2024-05-09 09:57:01 +02:00

17 lines
918 B
HTML

{% load i18n admin_urls %}
<div class="submit-row">
{% block submit-row %}
{% if show_save_and_continue %}<input type="submit" value="{% translate 'Save' %}" class="default" name="_continue">{% endif %}
<input type="submit" value="Enregistrer et générer les coulées" style="margin-left: auto;" name="_continueandcreatecoulees">
{% if show_save_as_new %}<input type="submit" value="Copier vers un nouveau" name="_saveasnew">{% endif %}
{% if show_close %}
{% url opts|admin_urlname:'changelist' as changelist_url %}
<a href="{% add_preserved_filters changelist_url %}" class="closelink">{% translate 'Close' %}</a>
{% endif %}
{% if show_delete_link and original %}
{% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
<a href="{% add_preserved_filters delete_url %}" style="margin-left: 0;" class="deletelink">{% translate "Delete" %}</a>
{% endif %}
{% endblock %}
</div>