Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.rb4
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