vendor/plugins/validates_captcha/lib/add_captcha_to_action_view.rb
#Returns a label tag for the input field containing
#the question from a CaptchaQuestionChallenge.
Returns a label tag for the input field containing
the question from a CaptchaQuestionChallenge.
Returns a label tag for the input field containing the question from a CaptchaQuestionChallenge .
def captcha_question_as_label(challenge, object, options = {})
        options = {
          :for => "#{object}_captcha_validation"
        }.update(options)
        content_tag('label', "#{options[:before]}#{challenge.question}#{options[:after]}", options)
      end
def captcha_question_as_label ( challenge , object , options = { } ) options = { :for => "#{object}_captcha_validation" } . update ( options ) content_tag ( 'label' , "#{options[:before]}#{challenge.question}#{options[:after]}" , options ) end
Returns a label tag for the input field containing
the question from a CaptchaQuestionChallenge.
Returns a label tag for the input field containing the question from a CaptchaQuestionChallenge .
challenge
<not_specific>
object
<not_specific>
options
<not_specific>