app/views/madmin/fields/string/_form.html.erb in madmin-1.2.11 vs app/views/madmin/fields/string/_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, class: "flex-grow form-input" %>
+<%= form.text_field field.attribute_name, class: "form-input", placeholder: field.options.placeholder %>