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

@@ -1,6 +1,6 @@
<%= error_messages_for :comment %>
<%= simple_form_for(comment, :html => {:style => ("display: none;" if local_assigns[:hidden]), :class => "edit_comment"}) do |f| %>
<%= edit_form_for(comment, html: { style: ("display: none;" if local_assigns[:hidden]), class: "edit_comment" }) do |f| %>
<%= f.hidden_field :post_id %>
<%= dtext_field "comment", "body", :classes => "autocomplete-mentions", :value => comment.body, :input_id => "comment_body_for_#{comment.id}", :preview_id => "dtext-preview-for-#{comment.id}" %>
<%= f.button :submit, "Submit" %>