fournee/fournée/templates/admin/fournée_submit_line.html

17 lines
918 B
HTML
Raw Normal View History

2024-04-30 12:27:17 +02:00
{% 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>