Sha256: 0797e95f63fcf8338543ad894987e5829b473ef96330daa1ac63541af9fb519a

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

format :html do
  def raw_help_text
    # LOCALIZE
    "Register your domain at Google's [[http://google.com/recaptcha|reCAPTCHA service]] "\
    "and enter your site key and secret key below.<br>"\
    "If you want to turn captchas off then change all [[*captcha|captcha rules]] to 'no'."
  end

  # def instructions title, steps
  #   steps = list_tag steps, ordered: true
  #   "#{title}#{steps}"
  # end
  #
  #       <h5>#{instructions}</h5>
  #       #{howto_add_keys}
  #       #{howto_turn_captcha_off}
  #
  # def howto_add_new_recaptcha_keys
  #   instructions t(:recaptcha_howto_add_keys),
  #                [t(:recaptcha_howto_register,
  #                   recaptcha_link: link_to_resource("http://google.com/recaptcha")),
  #                 t(:recaptcha_howto_add,
  #                   recaptcha_settings: link_to_card(:recaptcha_settings))]
  # end
  #
  # def howto_turn_captcha_off
  #   instructions t(:recaptcha_howto_turn_off),
  #                [t(:recaptcha_howto_go, captcha_card: link_to_card(:captcha)),
  #                 t(:recaptcha_howto_update)]
  # end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-mod-recaptcha-0.14.2 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.14.1 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.14.0 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.13.4 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.13.3 set/self/recaptcha_settings.rb