{% extends 'gestion/base.html' %}


{% block contents %}
<form method="POST" enctype='multipart/form-data' id="form">
  {% csrf_token %}
  {% if not clonage %}
  <input type="hidden" name="numero" value="{{ numero }}"/>
  {% endif %}
  <table class="deux-colonnes-formulaire">
    {{ form.as_table }}
    <tr><td colspan="2">
	<input type="submit" name="modif_db" value="Enregistrer" style="width: 100%;">
    </td></tr>
  </table>
</form>

{% if saved %}
<script>signale_saved()</script>
{% endif %}
{% endblock %}
