We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b61411 commit d35dac2Copy full SHA for d35dac2
1 file changed
app/helpers/application_helper.rb
@@ -76,7 +76,7 @@ def bs_labeled_field(label, field, options = {})
76
str = ''
77
case type
78
when :boolean
79
- str = '<label class="checkbox">'
+ str = '<label class="checkbox">'.dup
80
str << " #{field}#{label}"
81
str << '</label>'
82
else
0 commit comments