Fix #5231: "Reason is too long" notice does not appear when editing an appeal

This commit is contained in:
evazion
2022-08-24 14:27:00 -05:00
parent d01b3c0637
commit c2597ff299
6 changed files with 50 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
</p>
<%= edit_form_for(@post_appeal) do |f| %>
<%= f.input :reason, as: :dtext, inline: true %>
<%= f.input :reason, as: :dtext %>
<%= f.button :submit, "Submit" %>
<%= dtext_preview_button "post_appeal_reason" %>
<% end %>

View File

@@ -7,7 +7,7 @@
</p>
<%= edit_form_for(@post_flag) do |f| %>
<%= f.input :reason, as: :dtext, inline: true %>
<%= f.input :reason, as: :dtext %>
<%= f.button :submit, "Submit" %>
<%= dtext_preview_button "post_flag_reason" %>
<% end %>