diff app/views/pastes/_form.html.erb @ 189:b4b7a29b70f6

Initial work for paste deletion.
author Edho Arief <edho@myconan.net>
date Sat, 23 Feb 2013 14:01:22 +0900
parents 8ef70e8c239d
children 0993715b455d
line wrap: on
line diff
--- a/app/views/pastes/_form.html.erb	Sat Feb 23 13:25:09 2013 +0900
+++ b/app/views/pastes/_form.html.erb	Sat Feb 23 14:01:22 2013 +0900
@@ -13,7 +13,11 @@
 
   <div class="field">
     <%= f.text_area :paste, :class => 'span12', :rows => 10 %>
+
+    <%= f.text_field :key %>
+    <span class="help-inline"><%= f.label :key, 'Deletion key' %></span>
   </div>
+
   <div class="form-actions">
     <%= f.submit :class => 'btn btn-primary' %>
     <%= link_to 'Clear', root_path, :class => 'btn', :id => 'reset_paste' %>