diff --git a/templates/asset_update.html b/templates/asset_update.html index fd6333e8..14716fd4 100644 --- a/templates/asset_update.html +++ b/templates/asset_update.html @@ -7,14 +7,16 @@ {% block main %}

- Asset - {% if object.id %} - | {{ object.asset_id }} + {% if edit and object %} + Edit Asset | {{ object.asset_id }} {% elif duplicate %} - Duplication of {{ object.asset_id }} + Duplication of Asset | {{ previous_asset_id }} + {% elif not object %} + Create Asset {% else %} - Create + Asset | {{ object.asset_id }} {% endif %} +

@@ -27,22 +29,22 @@
- {% if edit %} - {# #} + {% if edit and object %} + - {% if object.pk %} - Duplicate - {% endif %} + Duplicate + Delete {% elif duplicate %} + - Cancel + Cancel + {% elif not object %} + + {% else %} + Edit - Duplicate - {% endif %} - {% if object and not duplicate %} + Duplicate Delete {% endif %}
@@ -313,7 +315,7 @@