Skip to content

Commit

Permalink
Revert delete form
Browse files Browse the repository at this point in the history
Revert delete form ref: #2044
  • Loading branch information
ad3n authored Feb 8, 2018
1 parent a40acdb commit 70dafcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{
form(delete_form, {
action: delete_form.vars.action ~ (delete_form.vars.action starts with '?' ? '&' : '?') ~ 'referer=' ~ referer,
action: delete_form.vars.action ~ ('?' in delete_form.vars.action ? '&' : '?') ~ 'referer=' ~ referer,
method: 'DELETE',
attr: { id: 'delete-form', style: 'display: none' }
})
Expand Down

0 comments on commit 70dafcb

Please sign in to comment.