Sha256: bc51df579c8d8d7c245577d76a53b9cdd95e8a7df2ee1501c629905f90318302
Contents?: true
Size: 1.86 KB
Versions: 6
Compression:
Stored size: 1.86 KB
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Self # Set: The card "RecaptchaSettings" # module RecaptchaSettings; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-recaptcha/set/self/recaptcha_settings.rb"; end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat 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 end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card-mod-recaptcha/set/self/recaptcha_settings.rb ~~
Version data entries
6 entries across 6 versions & 1 rubygems