Mercurial > zeropaste
view app/views/pastes/_form.html.erb @ 299:d6e94d7d0325
Such test. Much build status. Wow
[ci skip]
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 12 Feb 2014 15:19:36 +0900 |
parents | dff632a63ada |
children | 5ca896a5ddef |
line wrap: on
line source
<%= form_for @paste do |f| %> <div class="form-group"> <%= f.text_area :paste, :rows => 10, :class => "form-control" %> </div> <div class="form-group"> <%= f.label :key, "Deletion key", class: "control-label" %> <div class="row"><div class="col-sm-3"> <%= f.text_field :key, :class => "form-control" %> </div></div> </div> <%= render 'shared/filter_spam' %> <div class="checkbox"> <%= f.label :is_private do %> <%= f.check_box :is_private %> Private <% end %> </div> <%= f.submit :class => 'btn btn-primary' %> <%= link_to 'Clear', root_path, :class => 'btn btn-danger', :id => 'reset_paste' %> <% end %>