Sha256: be990654e3a220c249d76f8d81f720191232aa2010fa614421361afb2cd5a5fa

Contents?: true

Size: 838 Bytes

Versions: 3

Compression:

Stored size: 838 Bytes

Contents

<link rel="stylesheet" href="/assets/visualcaptcha.css" />
<div class="eL-captcha clearfix <%%= captcha_options[:type] %>">
  <p class="eL-explanation <%%= captcha_options[:type] %>">
    Drag the <strong><%%= challenge.answer.title %></strong> to the circle on the side.
  </p>
  <div class="eL-possibilities <%%= captcha_options[:type] %> clearfix">
    <%% challenge.options.each do |option| %>
        <img src="/assets/<%%= option.image %>" class="vc-<%%= option.encrypted %>" data-value="<%%= option.encrypted %>" />
    <%% end %>
  </div>
  <div class="eL-where2go <%%= captcha_options[:type] %> clearfix">
  </div>
</div>
<script src="/assets/visualcaptcha.js"></script>
<script type="text/javascript">
    window.vCVals = {
        'f' : $('.eL-captcha').closest('form').attr('id'),
        'n' : 'captcha-value'
    }
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
visualcaptcha-0.0.1.5 lib/generators/templates/partial.erb
visualcaptcha-0.0.1.4 lib/generators/templates/partial.erb
visualcaptcha-0.0.1.3 lib/generators/templates/partial.erb