diff 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
line wrap: on
line diff
--- a/app/views/pastes/_form.html.erb	Wed Feb 12 14:08:47 2014 +0900
+++ b/app/views/pastes/_form.html.erb	Wed Feb 12 14:27:17 2014 +0900
@@ -9,6 +9,7 @@
       <%= 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 %>