From 7a53c8b691dc3fdc61f6d060aa84c5268306986e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 22 Dec 2015 11:55:39 +0100 Subject: [PATCH] fix modal div --- .../templates/telemeta/mediaitem_detail.html | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 43d3e758..9e72bcf1 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -387,17 +387,6 @@ {% endif %} -{% endblock content %} - -{% block delete %} -{% if user.is_authenticated and perms.telemeta.delete_mediaitem %} - - - -{% endif %} -{% endblock %} {% block modal %} {% endblock %} +{% endblock content %} + +{% block delete %} +{% if user.is_authenticated and perms.telemeta.delete_mediaitem %} + + + +{% endif %} +{% endblock %} + {% else %}

No such item

{% endif %} -- 2.39.5