diff options
Diffstat (limited to 'app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb')
-rw-r--r-- | app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb b/app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb index 4ece904fb85..298ed200101 100644 --- a/app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb +++ b/app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb @@ -7,6 +7,10 @@ module Pajamas form.label(method, formatted_label_options) { label_entry } end + def render_label_tag_with_help_text + label_tag(name, formatted_label_options) { label_entry } + end + private def label_entry |