prevent contact form spam

This commit is contained in:
Lee Lawlor
2014-09-30 21:09:01 -04:00
parent 1f892a89c0
commit 4f05d39cfb
10 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<%= form_tag({:controller => 'pages', :action => 'contact_us', :method => :post}, :class => 'form-horizontal') do %>
<input name='userlogin' class='userlogin' />
<input type='text' id='userlogin_js' name='userlogin_js' class='userlogin' />
<div class="form-group">
<label class="col-sm-4 col-xs-3 control-label"><%= t(:email_address).titleize %></label>