{% extends "base.html" %} {% load i18n %} {% load bootstrap3 %} {% block head_title %}{% if invoice %}{% blocktrans with ref=invoice.ref %}Édition de la facture {{ref}}{% endblocktrans %}{% else %}{% trans "Création de facture" %}{% endif %}{% endblock %} {% block bootstrap3_extra_head %} {{ form.media.css }} {% endblock %} {% block bootstrap3_extra_script %} {{ form.media.js }} {% include 'snippets/datetimepicker_js.html' %} {% endblock %} {% block content %}

{% if invoice %}{% blocktrans with ref=invoice.ref %}Édition de la facture {{ref}}{% endblocktrans %}{% else %}{% trans "Création de facture" %}{% endif %}

{% csrf_token %} {% bootstrap_form form layout='horizontal' size='small' %} {% buttons %} {% endbuttons %}
{% endblock %}