lib/alchemy/forms/builder.rb in alchemy_cms-7.1.4 vs lib/alchemy/forms/builder.rb in alchemy_cms-7.1.5
- old
+ new
@@ -38,10 +38,10 @@
class: type,
value: date&.iso8601
}.merge(options[:input_html] || {})
date_field = input attribute_name, as: :string, input_html: input_options
- template.content_tag("alchemy-datepicker", date_field, type: type)
+ template.content_tag("alchemy-datepicker", date_field, "input-type" => type)
end
# Renders a simple_form input that displays a richtext editor
#
def richtext(attribute_name, options = {})