lib/alchemy/resources_helper.rb in alchemy_cms-7.1.4 vs lib/alchemy/resources_helper.rb in alchemy_cms-7.1.5
- old
+ new
@@ -105,15 +105,10 @@
input_type = attribute[:type].to_s
case input_type
when "boolean"
options
when "date", "time", "datetime"
- options.merge(
- as: "string",
- input_html: {
- data: {datepicker_type: input_type}
- }
- )
+ options.merge(as: input_type)
when "text"
options.merge(as: "text", input_html: {rows: 4})
else
options.merge(as: "string")
end