fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
confirm on remove_to_archive
[audio.git]
/
apps
/
archive
/
templates
/
archive
/
file_managed.html
diff --git
a/apps/archive/templates/archive/file_managed.html
b/apps/archive/templates/archive/file_managed.html
index
d43c97e
..
db8e4f6
100755
(executable)
--- a/
apps/archive/templates/archive/file_managed.html
+++ b/
apps/archive/templates/archive/file_managed.html
@@
-98,7
+98,8
@@
Last modified: {{ audiobook.modified }}
-<form method="post" action="{% url remove_to_archive audiobook.id %}">
+<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>
{% csrf_token %}
<input type="submit" value="{% trans "Remove to archive" %}" />
</form>