Mercurial > zeropaste
annotate app/views/pastes/_form.html.erb @ 363:9e860754b5d6
Update renamed config, enforce random test order.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sat, 20 Dec 2014 17:59:37 +0900 |
parents | 5ca896a5ddef |
children | 2ad092e60975 |
rev | line source |
---|---|
260 | 1 <%= form_for @paste do |f| %> |
2 <div class="form-group"> | |
3 <%= f.text_area :paste, :rows => 10, :class => "form-control" %> | |
2 | 4 </div> |
189
b4b7a29b70f6
Initial work for paste deletion.
Edho Arief <edho@myconan.net>
parents:
56
diff
changeset
|
5 |
260 | 6 <div class="form-group"> |
7 <%= f.label :key, "Deletion key", class: "control-label" %> | |
8 <div class="row"><div class="col-sm-3"> | |
9 <%= f.text_field :key, :class => "form-control" %> | |
10 </div></div> | |
2 | 11 </div> |
297 | 12 <%= render 'shared/filter_spam' %> |
260 | 13 <div class="checkbox"> |
14 <%= f.label :is_private do %> | |
15 <%= f.check_box :is_private %> | |
16 Private | |
17 <% end %> | |
18 </div> | |
306
5ca896a5ddef
Use button instead of (input) submit.
edogawaconan <me@myconan.net>
parents:
297
diff
changeset
|
19 <%= f.button :class => 'btn btn-primary' %> |
260 | 20 <%= link_to 'Clear', root_path, :class => 'btn btn-danger', :id => 'reset_paste' %> |
2 | 21 <% end %> |