diff --git a/src/unfold/templates/admin/edit_inline/tabular.html b/src/unfold/templates/admin/edit_inline/tabular.html index 63bb623a..8fb8c4f2 100644 --- a/src/unfold/templates/admin/edit_inline/tabular.html +++ b/src/unfold/templates/admin/edit_inline/tabular.html @@ -26,7 +26,7 @@

+ {{ field.label|capfirst }} @@ -123,7 +123,7 @@

0 %} errors{% endif %}{% if inline_admin_form.original %} p-3 lg:py-3{% else %} py-3{% endif %}{% if field.is_checkbox %} align-middle{% else %} align-top{% endif %} {% if is_last_row and not inline_admin_formset.has_add_permission %}{% if is_last_col %}border-0 {% else %}border-b lg:border-0{% endif %}{% else %}border-b{% endif %} border-gray-200 flex items-center before:capitalize before:content-[attr(data-label)] before:mr-auto before:text-gray-500 before:pr-4 lg:before:hidden font-normal px-3 text-left text-sm lg:table-cell dark:border-gray-800 {% if field.field.is_hidden %} !hidden{% endif %} {% if inline_admin_formset.opts.ordering_field and field.field.name == inline_admin_formset.opts.ordering_field and not inline_admin_form.options.hide_ordering_field %}!hidden{% endif %}"{% endif %} data-label="{{ field.field.label }}"> +
{% if forloop.parentloop.counter == 1 and forloop.counter == 1 %} {% if inline_admin_formset.opts.ordering_field %} diff --git a/src/unfold/templates/unfold/helpers/fieldset_row.html b/src/unfold/templates/unfold/helpers/fieldset_row.html index 35c295cb..a06fa0f9 100644 --- a/src/unfold/templates/unfold/helpers/fieldset_row.html +++ b/src/unfold/templates/unfold/helpers/fieldset_row.html @@ -1,5 +1,6 @@ +