{% extends "agenda_culturel/page-admin.html" %}
{% load static %}

{% block title %}{% block og_title %}Règle de catéorisation{% endblock %}{% endblock %}

{% block entete_header %}
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
<script src="/static/admin/js/jquery.init.js"></script>
<link href="{% static 'css/django_better_admin_arrayfield.min.css' %}" type="text/css" media="all" rel="stylesheet">
<script src="{% static 'js/django_better_admin_arrayfield.min.js' %}"></script>
{% endblock %}

{% block content %}

<h1>Règle de catéorisation</h1>

<article>
    <form method="post">{% csrf_token %}
        {{ form.as_p }}
        <div class="grid buttons">
            <a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{% url 'categorisation_rules' %}{% endif %}" role="button" class="secondary">Annuler</a>
            <input type="submit" value="Envoyer">
        </div>
    </form>
</article>

{% endblock %}