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

{% block entete_header %}
<script src="{% url 'jsi18n' %}"></script>
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
<script src="/static/admin/js/jquery.init.js"></script>
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
{% endblock %}

{% block title %}{% block og_title %}{% if form.name.value != None %}Renseignement de l'étiquette {{ form.name.value }}{% else %}Création d'une étiquette{% endif %}{% endblock %}{% endblock %}

{% block fluid %}{% endblock %}

{% block content %}

<article>
    <header>
        <h1>{% if form.name.value != None %}Renseignement de l'étiquette <em>{{ form.name.value }}</em>{% else %}Création d'une étiquette{% endif %}</h1>
    </header>

    <form method="post">{% csrf_token %}
        {{ form.media }}
        {{ form.as_p }}
        <input type="submit" value="Envoyer">
    </form>
</article>

{% endblock %}