summaryrefslogtreecommitdiff
path: root/horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html')
-rw-r--r--horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html b/horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html
new file mode 100644
index 00000000..3ec7a2e5
--- /dev/null
+++ b/horizon/horizon/dashboards/syspanel/templates/syspanel/images/_delete.html
@@ -0,0 +1,9 @@
+{%load i18n%}
+<form id="form_delete_{{image.id}}" class="form-delete" method="post">
+ {% csrf_token %}
+ {% for hidden in form.hidden_fields %}
+ {{hidden}}
+ {% endfor %}
+ <input name="image_id" type="hidden" value="{{image.id}}" />
+ <input id="delete_{{image.id}}" class="delete" title="Image: {{image.name}}" type="submit" value="{% trans "Delete"%}" />
+</form>