app/views/madmin/fields/date_time/_form.html.erb in madmin-1.2.11 vs app/views/madmin/fields/date_time/_form.html.erb in madmin-2.0.0
- old
+ new
@@ -1,4 +2 @@
-<div class="block md:inline-block md:w-32 flex-shrink-0 text-gray-700">
- <%= render "madmin/shared/label", form: form, field: field %>
-</div>
-<%= form.text_field field.attribute_name, data: { controller: "flatpickr", flatpickr_enable_time: true } %>
+<%= form.datetime_field field.attribute_name, class: "form-input" %>