Commit 026bb2ae authored by fred's avatar fred
Browse files

edit: move action buttons to the top of the episode page

parent 35b4754b
...@@ -7,6 +7,12 @@ ...@@ -7,6 +7,12 @@
{% block content %} {% block content %}
<a class="big-friendly-button" href="edit/">Modifier</a>
<a class="big-friendly-button" id="add-diffusion-link" href="#">Ajouter une diffusion</a>
<a class="big-friendly-button" id="add-soundfile-link" href="#">Ajouter un son</a></p>
{% if episode.description %} {% if episode.description %}
<div class="description"> <div class="description">
...@@ -18,8 +24,6 @@ ...@@ -18,8 +24,6 @@
{{ episode.text|safe }} {{ episode.text|safe }}
{% endif %} {% endif %}
<a href="edit/">Modifier</a>
<h3>Diffusions</h3> <h3>Diffusions</h3>
<ul> <ul>
...@@ -30,8 +34,6 @@ ...@@ -30,8 +34,6 @@
{% endfor %} {% endfor %}
</ul> </ul>
<a id="add-diffusion-link" href="#">Ajouter une diffusion</a>
<form id="add-diffusion-form" action="add-diffusion" method="POST" style="display: none;"> <form id="add-diffusion-form" action="add-diffusion" method="POST" style="display: none;">
{% csrf_token %} {% csrf_token %}
{{ add_diffusion_form.as_p }} {{ add_diffusion_form.as_p }}
...@@ -67,8 +69,6 @@ ...@@ -67,8 +69,6 @@
<input type="submit" value="Ajouter ce son"/> <input type="submit" value="Ajouter ce son"/>
</form> </form>
<p><a id="add-soundfile-link" href="#">Ajouter un son</a></p>
{% endblock %} {% endblock %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment