Add embed wiki to delete dialog

This commit is contained in:
nonamethanks
2021-03-20 05:45:34 +01:00
parent 0249c290fd
commit e7e0c2314d

View File

@@ -1,4 +1,6 @@
<div class="delete-post-dialog-body">
<%= embed_wiki("help:delete_notice") %>
<%= edit_form_for(post, method: :delete, remote: true) do |f| %>
<input type="hidden" name="commit" value="Delete">
<%= f.input :reason, as: :dtext, inline: true, input_html: { value: "" } %>