Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
188:45ec309a3fa8 | 189:b4b7a29b70f6 |
---|---|
11 </div> | 11 </div> |
12 <% end %> | 12 <% end %> |
13 | 13 |
14 <div class="field"> | 14 <div class="field"> |
15 <%= f.text_area :paste, :class => 'span12', :rows => 10 %> | 15 <%= f.text_area :paste, :class => 'span12', :rows => 10 %> |
16 | |
17 <%= f.text_field :key %> | |
18 <span class="help-inline"><%= f.label :key, 'Deletion key' %></span> | |
16 </div> | 19 </div> |
20 | |
17 <div class="form-actions"> | 21 <div class="form-actions"> |
18 <%= f.submit :class => 'btn btn-primary' %> | 22 <%= f.submit :class => 'btn btn-primary' %> |
19 <%= link_to 'Clear', root_path, :class => 'btn', :id => 'reset_paste' %> | 23 <%= link_to 'Clear', root_path, :class => 'btn', :id => 'reset_paste' %> |
20 </div> | 24 </div> |
21 <% end %> | 25 <% end %> |