Remove inlined JS
This commit is contained in:
parent
b843b29975
commit
2fb85e138e
6 changed files with 27 additions and 2 deletions
|
@ -97,7 +97,7 @@
|
|||
{% endmacro %}
|
||||
|
||||
{% macro admin_delete_button(ap_object_id) %}
|
||||
<form action="{{ request.url_for("admin_actions_delete") }}" method="POST" onsubmit="return confirm('Do you really want to delete this object?');">
|
||||
<form action="{{ request.url_for("admin_actions_delete") }}" class="object-delete-form" method="POST">
|
||||
{{ embed_csrf_token() }}
|
||||
{{ embed_redirect_url() }}
|
||||
<input type="hidden" name="ap_object_id" value="{{ ap_object_id }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue