Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
433:b445318de858 | 434:b2991317d4d7 |
---|---|
14 %> | 14 %> |
15 </div></div> | 15 </div></div> |
16 | 16 |
17 <div class="form-group <%= error_class f.object, :key %> form-group--narrow"> | 17 <div class="form-group <%= error_class f.object, :key %> form-group--narrow"> |
18 <%= f.label :key, t(".deletion_key") %> | 18 <%= f.label :key, t(".deletion_key") %> |
19 <%= f.text_field :key, :class => "form-control" %> | 19 <%= f.text_field :key, :autocomplete => "off", :class => "form-control" %> |
20 </div> | 20 </div> |
21 | 21 |
22 <div class="form-group"> | 22 <div class="form-group"> |
23 <label><%= t(".privacy.label") %></label> | 23 <label><%= t(".privacy.label") %></label> |
24 | 24 |