comparison app/views/pastes/show.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 1fc5ddcde386
comparison
equal deleted inserted replaced
433:b445318de858 434:b2991317d4d7
41 <div class="input-group"> 41 <div class="input-group">
42 <%= f.text_field :key, 42 <%= f.text_field :key,
43 :value => nil, 43 :value => nil,
44 :placeholder => t("pastes.new.deletion_key"), 44 :placeholder => t("pastes.new.deletion_key"),
45 :autofocus => f.object.errors.any?, 45 :autofocus => f.object.errors.any?,
46 :autocomplete => "off",
46 :class => "form-control" 47 :class => "form-control"
47 %> 48 %>
48 49
49 <span class="input-group-btn"> 50 <span class="input-group-btn">
50 <%= f.button t(".delete"), :class => "btn btn-danger" %> 51 <%= f.button t(".delete"), :class => "btn btn-danger" %>