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


{% block contents %}
<form method="POST" 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>

<script>catalogue_modif_init({{ categories|safe }}, {{ options|safe }})</script>
{% if saved %}
<script>signale_catalogue_saved()</script>
{% endif %}
{% endblock %}
