# HG changeset patch # User nanaya # Date 1463079711 -32400 # Node ID b2991317d4d7a8232d07465297edd12ff53a23d4 # Parent b445318de8583cbc34b935bda30c6ea9ef5dd203 Disable deletion key autocomplete diff -r b445318de858 -r b2991317d4d7 app/views/pastes/new.html.erb --- a/app/views/pastes/new.html.erb Fri May 13 03:59:50 2016 +0900 +++ b/app/views/pastes/new.html.erb Fri May 13 04:01:51 2016 +0900 @@ -16,7 +16,7 @@
<%= f.label :key, t(".deletion_key") %> - <%= f.text_field :key, :class => "form-control" %> + <%= f.text_field :key, :autocomplete => "off", :class => "form-control" %>
diff -r b445318de858 -r b2991317d4d7 app/views/pastes/show.html.erb --- a/app/views/pastes/show.html.erb Fri May 13 03:59:50 2016 +0900 +++ b/app/views/pastes/show.html.erb Fri May 13 04:01:51 2016 +0900 @@ -43,6 +43,7 @@ :value => nil, :placeholder => t("pastes.new.deletion_key"), :autofocus => f.object.errors.any?, + :autocomplete => "off", :class => "form-control" %>