Sha256: 8b32caec44f36d68826129e26ae1ca610bbd8351376a6c48eff890f551cb44ee

Contents?: true

Size: 1.39 KB

Versions: 15

Compression:

Stored size: 1.39 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 catchas 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_new_recaptcha_keys}
  #       #{howto_turn_captcha_off}
  #
  # def howto_add_new_recaptcha_keys
  #   instructions(
  #     I18n.t(:howto_add_keys, scope: "mod.admin.set.self.admin_info"),
  #     [
  #       I18n.t(:howto_register,
  #              scope: "mod.admin.set.self.admin_info",
  #              recaptcha_link: link_to_resource("http://google.com/recaptcha")),
  #       I18n.t(:howto_add,
  #              scope: "mod.admin.set.self.admin_info",
  #              recaptcha_settings: link_to_card(:recaptcha_settings))
  #     ]
  #   )
  # end
  #
  # def howto_turn_captcha_off
  #   instructions(
  #     I18n.t(:howto_turn_off, scope: "mod.admin.set.self.admin_info"),
  #     [
  #       I18n.t(:howto_go,
  #              scope: "mod.admin.set.self.admin_info",
  #              captcha_card: link_to_card(:captcha)),
  #       I18n.t(:howto_update,
  #              scope: "mod.admin.set.self.admin_info")
  #     ]
  #   )
  # end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
card-mod-recaptcha-0.11.1 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.11.0 set/self/recaptcha_settings.rb
card-mod-recaptcha-0.1 set/self/recaptcha_settings.rb
card-1.100.0 mod/recaptcha/set/self/recaptcha_settings.rb
card-1.99.6 mod/recaptcha/set/self/recaptcha_settings.rb
card-1.99.5 mod/recaptcha/set/self/recaptcha_settings.rb
card-1.99.4 mod/recaptcha/set/self/recaptcha_settings.rb
card-1.99.3 mod/recaptcha/set/self/recaptcha_settings.rb
card-1.99.2 mod/admin/set/self/recaptcha_settings.rb
card-1.99.1 mod/admin/set/self/recaptcha_settings.rb
card-1.99.0 mod/admin/set/self/recaptcha_settings.rb
card-1.98.3 mod/admin/set/self/recaptcha_settings.rb
card-1.98.2 mod/admin/set/self/recaptcha_settings.rb
card-1.98.1 mod/admin/set/self/recaptcha_settings.rb
card-1.98.0 mod/admin/set/self/recaptcha_settings.rb