Module: Katalyst::GoogleApis::GOVUKFormBuilder
- Defined in:
- app/helpers/katalyst/google_apis/govuk_form_builder.rb
Instance Method Summary collapse
Instance Method Details
#govuk_recaptcha_field(attribute = :recaptcha_token) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/helpers/katalyst/google_apis/govuk_form_builder.rb', line 6 def govuk_recaptcha_field(attribute = :recaptcha_token, **) GOVUKDesignSystemFormBuilder::Containers::FormGroup.new(self, object_name, attribute).html do safe_join([ GOVUKDesignSystemFormBuilder::Elements::ErrorMessage.new(self, object_name, attribute), recaptcha_field(attribute, **), ]) end end |