Sha256: 01933996aab37c2ecdd21dcff800889abe6c003d8812d4911877113353f0091f

Contents?: true

Size: 423 Bytes

Versions: 8

Compression:

Stored size: 423 Bytes

Contents

<% @challenge = Antispam::Challenge.create %>
<h1>Human Challenge</h1>

<p>Please prove that you are human.</p>

<img src="/antispam/challenges/<%= @challenge.id %>.jpg" width="200" height="40">

<%= form_for @challenge do |f| %>
  <%= f.hidden_field :id, value: @challenge.id %>
  <%= f.text_field :answer, value: '' %>
  <%= submit_tag "Submit" %>
<% end %>

<% flash.each do |type, msg| %><div><%= msg %></div><% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
antispam-0.2.0 app/views/antispam/validate/index.html.erb
antispam-0.1.7 app/views/antispam/validate/index.html.erb
antispam-0.1.5 app/views/antispam/validate/index.html.erb
antispam-0.1.4 app/views/antispam/validate/index.html.erb
antispam-0.1.3 app/views/antispam/validate/index.html.erb
antispam-0.1.2 app/views/antispam/validate/index.html.erb
antispam-0.1.1 app/views/antispam/validate/index.html.erb
antispam-0.1.0 app/views/antispam/validate/index.html.erb