comparison app/views/pastes/_form.html.erb @ 297:dff632a63ada

Basic spam filtering.
author edogawaconan <me@myconan.net>
date Wed, 12 Feb 2014 14:27:17 +0900
parents 6cca1ab53337
children 5ca896a5ddef
comparison
equal deleted inserted replaced
296:59be20065799 297:dff632a63ada
7 <%= f.label :key, "Deletion key", class: "control-label" %> 7 <%= f.label :key, "Deletion key", class: "control-label" %>
8 <div class="row"><div class="col-sm-3"> 8 <div class="row"><div class="col-sm-3">
9 <%= f.text_field :key, :class => "form-control" %> 9 <%= f.text_field :key, :class => "form-control" %>
10 </div></div> 10 </div></div>
11 </div> 11 </div>
12 <%= render 'shared/filter_spam' %>
12 <div class="checkbox"> 13 <div class="checkbox">
13 <%= f.label :is_private do %> 14 <%= f.label :is_private do %>
14 <%= f.check_box :is_private %> 15 <%= f.check_box :is_private %>
15 Private 16 Private
16 <% end %> 17 <% end %>