diff app/views/pastes/new.html.erb @ 434:b2991317d4d7

Disable deletion key autocomplete
author nanaya <me@myconan.net>
date Fri, 13 May 2016 04:01:51 +0900
parents 967233b26404
children 68231013b01b
line wrap: on
line diff
--- 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 @@
 
   <div class="form-group <%= error_class f.object, :key %> form-group--narrow">
     <%= f.label :key, t(".deletion_key") %>
-    <%= f.text_field :key, :class => "form-control" %>
+    <%= f.text_field :key, :autocomplete => "off", :class => "form-control" %>
   </div>
 
   <div class="form-group">