]> git.0d.be Git - django-panik-emissions.git/blob - emissions/templates/emissions/emission_form.html
templates: add proper markup for appbar action buttons
[django-panik-emissions.git] / emissions / templates / emissions / emission_form.html
1 {% extends "base.html" %}
2
3 {% block extrascripts %}
4 <script src="{{ STATIC_URL }}ckeditor/ckeditor/ckeditor.js"></script>
5 <script src="{{ STATIC_URL }}ckeditor/ckeditor-init.js"></script>
6 {% endblock %}
7
8 {% block appbar %}
9 <h2>{{ emission.title }}</h2>
10 <span class="actions"><a href="../">Retourner à l'émission</a></span>
11 {% endblock %}
12
13
14 {% block content %}
15     <form method="post" enctype="multipart/form-data">
16       <div id="form-content">
17         {% csrf_token %}
18         {{ form.as_p }}
19       </div>
20       {% block buttons %}
21       <button class="enable-on-change">Enregistrer</button>
22       {% endblock %}
23     </form>
24 {% endblock %}
25