Fix #4162: Remove browser autocomplete from most inputs.

This commit is contained in:
evazion
2020-01-10 16:08:34 -06:00
parent cde8ee64e1
commit c86c61c9a4
42 changed files with 46 additions and 41 deletions

View File

@@ -5,7 +5,7 @@
<%# XXX dtext_field expects there to be a `post_flag` instance variable. %>
<% @post_flag = post_flag %>
<%= simple_form_for(@post_flag, format: :js, remote: true) do |f| %>
<%= edit_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", type: "string" %>
<%= dtext_preview_button "post_flag", "reason", preview_id: "dtext-preview-for-post-flag" %>