add support for searching for dup-related flags

This commit is contained in:
r888888888
2017-04-21 13:50:44 -07:00
parent 24154af54b
commit d9ea925f4e
6 changed files with 21 additions and 4 deletions

View File

@@ -4,6 +4,6 @@
<% @post_flag = post_flag %>
<%= simple_form_for(@post_flag, format: :js, remote: true) do |f| %>
<%= f.hidden_field :post_id %>
<%= dtext_field "post_flag", "reason", preview_id: "dtext-preview-for-post-flag" %>
<%= dtext_field "post_flag", "reason", preview_id: "dtext-preview-for-post-flag", type: "string" %>
<%= dtext_preview_button "post_flag", "reason", preview_id: "dtext-preview-for-post-flag" %>
<% end %>