Mercurial > zeropaste
annotate app/views/pastes/_form.html.erb @ 379:2ad092e60975
[mq]: new-design
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 07 Jun 2015 02:35:12 +0900 |
parents | 5ca896a5ddef |
children | 2ddd61aca2c8 |
rev | line source |
---|---|
260 | 1 <%= form_for @paste do |f| %> |
379 | 2 <%= render "shared/filter_spam" %> |
3 <div id="paste-form"> | |
4 <%= f.text_area :paste, :rows => 10, :autofocus => true %> | |
2 | 5 </div> |
189
b4b7a29b70f6
Initial work for paste deletion.
Edho Arief <edho@myconan.net>
parents:
56
diff
changeset
|
6 |
379 | 7 <div id="paste-control"> |
8 <div class="inputs left"> | |
9 | |
10 <div class="vertical-flex"> | |
11 <%= f.label :key, "Deletion key", :class => "form-label" %> | |
12 <%= f.text_field :key %> | |
13 </div> | |
14 | |
15 <div class="vertical-flex"> | |
16 <div class="form-label">Privacy</div> | |
17 <label class="radio"> | |
18 <%= f.radio_button :is_private, "0" %> | |
19 <span>Public</span> | |
20 </label> | |
21 | |
22 <label class="radio"> | |
23 <%= f.radio_button :is_private, "1" %> | |
24 <span>Private</span> | |
25 </label> | |
26 </div> | |
27 </div> | |
28 | |
29 <div class="inputs right"> | |
30 <%= f.button %> | |
31 | |
32 <%= button_tag "Clear", :type => "button", :id => "reset_paste" %> | |
33 </div> | |
2 | 34 </div> |
35 <% end %> |