lib/trestle/form/fields/time_select.rb in trestle-0.10.0 vs lib/trestle/form/fields/time_select.rb in trestle-0.10.1
- old
+ new
@@ -9,10 +9,10 @@
@html_options = default_html_options.merge(html_options)
end
def field
- content_tag(:div, class: "time-select") do
+ tag.div(class: "time-select") do
builder.raw_time_select(name, options, html_options, &block)
end
end
def default_html_options