app/helpers/casein/casein_helper.rb in casein-5.3.1.0 vs app/helpers/casein/casein_helper.rb in casein-5.3.2.0
- old
+ new
@@ -294,10 +294,10 @@
options
end
def casein_form_tag_wrapper form_tag, form, obj, attribute, options = {}
unless options.key? :casein_label
- human_attribute_name = attribute.to_s.humanize
+ human_attribute_name = attribute.to_s.humanize.titleize
else
human_attribute_name = options[:casein_label]
end
sublabel = ""