Fix #4162: Remove browser autocomplete from most inputs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= simple_form_for(ban) do |f| %>
|
||||
<%= edit_form_for(ban) do |f| %>
|
||||
<%= error_messages_for("ban") %>
|
||||
|
||||
<%= f.input :user_name, :as => :string, :input_html => { data: { autocomplete: "user" } } %>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div id="a-edit">
|
||||
<h1>Edit Ban</h1>
|
||||
|
||||
<%= simple_form_for(@ban) do |f| %>
|
||||
<%= edit_form_for(@ban) do |f| %>
|
||||
<%= error_messages_for("ban") %>
|
||||
|
||||
<%= f.input :duration, :hint => "in days" %>
|
||||
|
||||
Reference in New Issue
Block a user