lib/generators/adminpanel/resource/resource_generator_helper.rb in adminpanel-3.0.0 vs lib/generators/adminpanel/resource/resource_generator_helper.rb in adminpanel-3.1.0
- old
+ new
@@ -110,10 +110,10 @@
def boolean_form_hash
attribute_hash(@attr_field, 'boolean')
end
def date_form_hash
- attribute_hash(@attr_field, 'date')
+ attribute_hash(@attr_field, 'datepicker')
end
def file_field_form_hash
attribute_hash(gallery_name.pluralize, 'adminpanel_file_field')
end