lib/generators/madmin/field/templates/_form.html.erb in madmin-1.2.5 vs lib/generators/madmin/field/templates/_form.html.erb in madmin-1.2.6
- old
+ new
@@ -1,2 +1,4 @@
-<%= form.label field.attribute_name, class: "inline-block w-32 flex-shrink-0" %>
+<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, class: "form-input" %>