confirm on remove_to_archive
[audio.git] / apps / archive / templates / archive / file_managed.html
index 92ee639..db8e4f6 100755 (executable)
@@ -94,5 +94,16 @@ Last modified: {{ audiobook.modified }}
 
 
 
+<hr />
+
+
+
+<form method="post" action="{% url remove_to_archive audiobook.id %}"
+    onsubmit='return confirm("{% trans "Are you sure you want to move this audiobook to archive?" %}")'>
+    {% csrf_token %}
+    <input type="submit" value="{% trans "Remove to archive" %}" />
+</form>
+
+
 
 {% endblock %}