Sha256: 25300c84cf01ecf0fc0742cdfae080823150ddc1de1442727c48449faee7be14
Contents?: true
Size: 1.14 KB
Versions: 12
Compression:
Stored size: 1.14 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 view :core do [field_nest(:site_key), field_nest(:secret_key)] 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
12 entries across 12 versions & 1 rubygems