From 3d7fc18fb731d62f3fbac1e3d8ee411c48699d48 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Wed, 2 Oct 2019 18:58:52 +0100 Subject: [PATCH] Fix unclosed tags in asset_update --- assets/templates/asset_update.html | 119 ++++++++++++----------------- 1 file changed, 47 insertions(+), 72 deletions(-) diff --git a/assets/templates/asset_update.html b/assets/templates/asset_update.html index 1fec1402..4bb8c42f 100644 --- a/assets/templates/asset_update.html +++ b/assets/templates/asset_update.html @@ -34,9 +34,9 @@ Asset Details
+ {% if edit or duplicate %}
- {% if edit or duplicate %} {% if duplicate %} {% render_field form.asset_id|add_class:'form-control' value=object.asset_id %} {% elif object.asset_id %} @@ -45,7 +45,6 @@ {% render_field form.asset_id|add_class:'form-control' %} {% endif %}
-
@@ -107,7 +106,6 @@
{% if edit or duplicate %} -
-
- {% else %} -
Parent
-
- {% if object.parent %} - - {{ object.parent.asset_id }} - {{ object.parent.description }} - {% else %} - - - {% endif %} -
+
+
Parent
+
+ {% if object.parent %} + + {{ object.parent.asset_id }} - {{ object.parent.description }} + + {% else %} + - + {% endif %} +
-
Children
- {% if object.asset_parent.all %} - {% for child in object.asset_parent.all %} -
- - {{ child.asset_id }} - {{ child.description }} - -
- {% endfor %} - {% else %} -
-
+
Children
+ {% if object.asset_parent.all %} + {% for child in object.asset_parent.all %} +
+ + {{ child.asset_id }} - {{ child.description }} + +
+ {% endfor %} + {% else %} +
-
+ {% endif %} +
{% endif %} - {% endif %} - -
+ + {% include 'partials/asset_buttons.html' %}