django-unfold 0.55.1__tar.gz → 0.55.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. {django_unfold-0.55.1 → django_unfold-0.55.3}/PKG-INFO +1 -1
  2. {django_unfold-0.55.1 → django_unfold-0.55.3}/pyproject.toml +1 -1
  3. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/admin.py +15 -5
  4. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/choice_filters.py +4 -4
  5. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/dropdown_filters.py +1 -1
  6. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/mixins.py +1 -1
  7. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/sites.py +3 -3
  8. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/edit_inline/stacked.html +1 -1
  9. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/edit_inline/tabular.html +1 -1
  10. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/login.html +3 -1
  11. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/tab_items.html +6 -6
  12. {django_unfold-0.55.1 → django_unfold-0.55.3}/LICENSE.md +0 -0
  13. {django_unfold-0.55.1 → django_unfold-0.55.3}/README.md +0 -0
  14. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/__init__.py +0 -0
  15. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/apps.py +0 -0
  16. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/checks.py +0 -0
  17. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/components.py +0 -0
  18. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/__init__.py +0 -0
  19. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/__init__.py +0 -0
  20. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/__init__.py +0 -0
  21. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/autocomplete_filters.py +0 -0
  22. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/datetime_filters.py +0 -0
  23. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/numeric_filters.py +0 -0
  24. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/admin/text_filters.py +0 -0
  25. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/apps.py +0 -0
  26. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/forms.py +0 -0
  27. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/css/nouislider/LICENSE +0 -0
  28. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/css/nouislider/nouislider.min.css +0 -0
  29. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/DateTimeShortcuts.js +0 -0
  30. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/admin-numeric-filter.js +0 -0
  31. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/nouislider/LICENSE +0 -0
  32. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/nouislider/nouislider.min.js +0 -0
  33. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/wnumb/LICENSE +0 -0
  34. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/static/unfold/filters/js/wnumb/wNumb.min.js +0 -0
  35. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_date_range.html +0 -0
  36. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_datetime_range.html +0 -0
  37. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_field.html +0 -0
  38. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_range.html +0 -0
  39. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_single.html +0 -0
  40. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/filters/templates/unfold/filters/filters_numeric_slider.html +0 -0
  41. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/__init__.py +0 -0
  42. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/apps.py +0 -0
  43. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/static/unfold/forms/css/trix/LICENSE +0 -0
  44. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/static/unfold/forms/css/trix/trix.css +0 -0
  45. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/static/unfold/forms/js/trix/LICENSE +0 -0
  46. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/static/unfold/forms/js/trix/trix.js +0 -0
  47. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/static/unfold/forms/js/trix.config.js +0 -0
  48. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/templates/unfold/forms/array.html +0 -0
  49. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/templates/unfold/forms/helpers/toolbar.html +0 -0
  50. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/templates/unfold/forms/wysiwyg.html +0 -0
  51. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/forms/widgets.py +0 -0
  52. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/__init__.py +0 -0
  53. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/apps.py +0 -0
  54. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/admin/guardian/model/change_form.html +0 -0
  55. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/admin/guardian/model/field.html +0 -0
  56. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage.html +0 -0
  57. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_group.html +0 -0
  58. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/admin/guardian/model/obj_perms_manage_user.html +0 -0
  59. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/unfold/guardian/group_form.html +0 -0
  60. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/guardian/templates/unfold/guardian/user_form.html +0 -0
  61. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/__init__.py +0 -0
  62. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/apps.py +0 -0
  63. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/forms.py +0 -0
  64. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/base.html +0 -0
  65. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/change_form.html +0 -0
  66. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_export.html +0 -0
  67. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_export_item.html +0 -0
  68. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_import_export.html +0 -0
  69. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/change_list_import_item.html +0 -0
  70. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/export.html +0 -0
  71. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import.html +0 -0
  72. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import_confirm.html +0 -0
  73. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import_errors.html +0 -0
  74. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import_form.html +0 -0
  75. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import_preview.html +0 -0
  76. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/import_validation.html +0 -0
  77. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/import_export/templates/admin/import_export/resource_fields_list.html +0 -0
  78. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/inlines/__init__.py +0 -0
  79. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/inlines/admin.py +0 -0
  80. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/inlines/apps.py +0 -0
  81. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/inlines/checks.py +0 -0
  82. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/inlines/forms.py +0 -0
  83. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/__init__.py +0 -0
  84. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/apps.py +0 -0
  85. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/templates/simple_history/object_history.html +0 -0
  86. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/templates/simple_history/object_history_form.html +0 -0
  87. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/templates/simple_history/object_history_list.html +0 -0
  88. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/contrib/simple_history/templates/simple_history/submit_line.html +0 -0
  89. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/dataclasses.py +0 -0
  90. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/decorators.py +0 -0
  91. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/enums.py +0 -0
  92. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/exceptions.py +0 -0
  93. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/fields.py +0 -0
  94. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/forms.py +0 -0
  95. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/layout.py +0 -0
  96. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/mixins/__init__.py +0 -0
  97. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/mixins/action_model_admin.py +0 -0
  98. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/mixins/base_model_admin.py +0 -0
  99. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/overrides.py +0 -0
  100. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/paginator.py +0 -0
  101. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/sections.py +0 -0
  102. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/settings.py +0 -0
  103. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/admin/js/admin/RelatedObjectLookups.js +0 -0
  104. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/admin/js/inlines.js +0 -0
  105. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/css/simplebar/LICENSE +0 -0
  106. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/css/simplebar/simplebar.css +0 -0
  107. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/css/styles.css +0 -0
  108. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/Inter-Bold.woff2 +0 -0
  109. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/Inter-Medium.woff2 +0 -0
  110. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/Inter-Regular.woff2 +0 -0
  111. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/Inter-SemiBold.woff2 +0 -0
  112. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/LICENSE +0 -0
  113. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/inter/styles.css +0 -0
  114. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/material-symbols/LICENSE +0 -0
  115. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/material-symbols/Material-Symbols-Outlined.woff2 +0 -0
  116. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/fonts/material-symbols/styles.css +0 -0
  117. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/LICENSE +0 -0
  118. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/alpine.anchor.js +0 -0
  119. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/alpine.js +0 -0
  120. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/alpine.persist.js +0 -0
  121. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/alpine.resize.js +0 -0
  122. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/alpine/alpine.sort.js +0 -0
  123. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/app.js +0 -0
  124. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/chart/LICENSE +0 -0
  125. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/chart/chart.js +0 -0
  126. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/htmx/LICENSE +0 -0
  127. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/htmx/htmx.js +0 -0
  128. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/select2.init.js +0 -0
  129. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/simplebar/LICENSE +0 -0
  130. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/static/unfold/js/simplebar/simplebar.js +0 -0
  131. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/styles.css +0 -0
  132. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/actions.html +0 -0
  133. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/app_index.html +0 -0
  134. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/app_list.html +0 -0
  135. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/auth/user/add_form.html +0 -0
  136. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/auth/user/change_password.html +0 -0
  137. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/base.html +0 -0
  138. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/base_site.html +0 -0
  139. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/change_form.html +0 -0
  140. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/change_form_object_tools.html +0 -0
  141. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/change_list.html +0 -0
  142. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/change_list_object_tools.html +0 -0
  143. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/change_list_results.html +0 -0
  144. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/date_hierarchy.html +0 -0
  145. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/delete_confirmation.html +0 -0
  146. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/delete_selected_confirmation.html +0 -0
  147. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/filter.html +0 -0
  148. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/includes/fieldset.html +0 -0
  149. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/includes/object_delete_summary.html +0 -0
  150. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/index.html +0 -0
  151. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/nav_sidebar.html +0 -0
  152. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/object_history.html +0 -0
  153. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/pagination.html +0 -0
  154. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/search_form.html +0 -0
  155. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/admin/submit_line.html +0 -0
  156. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/auth/widgets/read_only_password_hash.html +0 -0
  157. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/registration/logged_out.html +0 -0
  158. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/registration/password_change_done.html +0 -0
  159. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/registration/password_change_form.html +0 -0
  160. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/button.html +0 -0
  161. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/card.html +0 -0
  162. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/chart/bar.html +0 -0
  163. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/chart/cohort.html +0 -0
  164. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/chart/line.html +0 -0
  165. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/container.html +0 -0
  166. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/flex.html +0 -0
  167. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/icon.html +0 -0
  168. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/navigation.html +0 -0
  169. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/progress.html +0 -0
  170. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/separator.html +0 -0
  171. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/table.html +0 -0
  172. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/text.html +0 -0
  173. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/title.html +0 -0
  174. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/components/tracker.html +0 -0
  175. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/account_links.html +0 -0
  176. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/actions_row.html +0 -0
  177. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/add_link.html +0 -0
  178. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/app_list.html +0 -0
  179. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/app_list_default.html +0 -0
  180. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/attrs.html +0 -0
  181. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/boolean.html +0 -0
  182. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/breadcrumb_item.html +0 -0
  183. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/change_list_actions.html +0 -0
  184. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/change_list_filter.html +0 -0
  185. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/change_list_filter_actions.html +0 -0
  186. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/delete_submit_line.html +0 -0
  187. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/display_dropdown.html +0 -0
  188. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/display_header.html +0 -0
  189. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/display_label.html +0 -0
  190. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_delete.html +0 -0
  191. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_error.html +0 -0
  192. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_field.html +0 -0
  193. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_heading.html +0 -0
  194. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_row.html +0 -0
  195. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/edit_inline/tabular_title.html +0 -0
  196. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/empty_results.html +0 -0
  197. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/field.html +0 -0
  198. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/field_readonly.html +0 -0
  199. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/field_readonly_value.html +0 -0
  200. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/fieldset_row.html +0 -0
  201. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/fieldset_row_checkbox.html +0 -0
  202. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/fieldset_row_field.html +0 -0
  203. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/fieldsets_tabs.html +0 -0
  204. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/form_errors.html +0 -0
  205. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/form_label.html +0 -0
  206. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/header.html +0 -0
  207. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/header_back_button.html +0 -0
  208. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/help_text.html +0 -0
  209. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/history.html +0 -0
  210. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/label.html +0 -0
  211. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/language_switch.html +0 -0
  212. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/debug.html +0 -0
  213. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/error.html +0 -0
  214. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/errornote.html +0 -0
  215. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/info.html +0 -0
  216. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/success.html +0 -0
  217. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages/warning.html +0 -0
  218. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/messages.html +0 -0
  219. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/navigation.html +0 -0
  220. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/navigation_header.html +0 -0
  221. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/pagination_current_item.html +0 -0
  222. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/pagination_default.html +0 -0
  223. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/pagination_ellipsis.html +0 -0
  224. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/pagination_infinite.html +0 -0
  225. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/search.html +0 -0
  226. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/search_results.html +0 -0
  227. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/site_branding.html +0 -0
  228. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/site_dropdown.html +0 -0
  229. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/site_icon.html +0 -0
  230. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/site_logo.html +0 -0
  231. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/submit.html +0 -0
  232. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/tab_action.html +0 -0
  233. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/tab_actions.html +0 -0
  234. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/tab_list.html +0 -0
  235. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/theme_switch.html +0 -0
  236. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/userlinks.html +0 -0
  237. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/helpers/welcomemsg.html +0 -0
  238. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/layouts/base.html +0 -0
  239. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/layouts/base_simple.html +0 -0
  240. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/layouts/skeleton.html +0 -0
  241. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/templatetags/preserve_changelist_filters.html +0 -0
  242. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/clearable_file_input.html +0 -0
  243. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/clearable_file_input_small.html +0 -0
  244. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/date.html +0 -0
  245. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/foreign_key_raw_id.html +0 -0
  246. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/radio.html +0 -0
  247. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/radio_option.html +0 -0
  248. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/range.html +0 -0
  249. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/related_widget_wrapper.html +0 -0
  250. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/split_datetime.html +0 -0
  251. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/split_datetime_vertical.html +0 -0
  252. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/split_money.html +0 -0
  253. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/textarea.html +0 -0
  254. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/time.html +0 -0
  255. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold/widgets/url.html +0 -0
  256. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/display_form.html +0 -0
  257. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/errors.html +0 -0
  258. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/field.html +0 -0
  259. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/inputs.html +0 -0
  260. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/attrs.html +0 -0
  261. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/baseinput.html +0 -0
  262. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/button.html +0 -0
  263. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/buttonholder.html +0 -0
  264. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/checkbox.html +0 -0
  265. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/column.html +0 -0
  266. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/div.html +0 -0
  267. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/field_errors.html +0 -0
  268. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/fieldset.html +0 -0
  269. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/help_text.html +0 -0
  270. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/help_text_and_errors.html +0 -0
  271. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/radio_checkbox_select.html +0 -0
  272. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/row.html +0 -0
  273. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/layout/table_inline_formset.html +0 -0
  274. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/uni_form.html +0 -0
  275. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templates/unfold_crispy/whole_uni_form.html +0 -0
  276. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templatetags/__init__.py +0 -0
  277. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templatetags/unfold.py +0 -0
  278. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/templatetags/unfold_list.py +0 -0
  279. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/typing.py +0 -0
  280. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/utils.py +0 -0
  281. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/views.py +0 -0
  282. {django_unfold-0.55.1 → django_unfold-0.55.3}/src/unfold/widgets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: django-unfold
3
- Version: 0.55.1
3
+ Version: 0.55.3
4
4
  Summary: Modern Django admin theme for seamless interface development
5
5
  License: MIT
6
6
  Keywords: django,admin,tailwind,theme
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "django-unfold"
3
- version = "0.55.1"
3
+ version = "0.55.3"
4
4
  description = "Modern Django admin theme for seamless interface development"
5
5
  license = "MIT"
6
6
  readme = "README.md"
@@ -9,6 +9,7 @@ from django.contrib.admin import display, helpers
9
9
  from django.db.models import BLANK_CHOICE_DASH, Model
10
10
  from django.http import HttpRequest, HttpResponse
11
11
  from django.shortcuts import redirect
12
+ from django.template.response import TemplateResponse
12
13
  from django.urls import URLPattern, path
13
14
  from django.utils.safestring import mark_safe
14
15
  from django.utils.translation import gettext_lazy as _
@@ -56,12 +57,12 @@ class ModelAdmin(BaseModelAdminMixin, ActionModelAdminMixin, BaseModelAdmin):
56
57
  warn_unsaved_form = False
57
58
  checks_class = UnfoldModelAdminChecks
58
59
 
59
- @property
60
- def media(self):
61
- media = super().media
60
+ def changelist_view(
61
+ self, request: HttpRequest, extra_context: Optional[dict[str, str]] = None
62
+ ) -> TemplateResponse:
62
63
  additional_media = forms.Media()
63
64
 
64
- for filter in self.list_filter:
65
+ for filter in self.get_list_filter(request):
65
66
  if (
66
67
  isinstance(filter, (tuple, list))
67
68
  and hasattr(filter[1], "form_class")
@@ -71,7 +72,16 @@ class ModelAdmin(BaseModelAdminMixin, ActionModelAdminMixin, BaseModelAdmin):
71
72
  elif hasattr(filter, "form_class") and hasattr(filter.form_class, "Media"):
72
73
  additional_media += forms.Media(filter.form_class.Media)
73
74
 
74
- return media + additional_media
75
+ if not extra_context:
76
+ extra_context = {}
77
+
78
+ extra_context.update(
79
+ {
80
+ "media": self.media + additional_media,
81
+ }
82
+ )
83
+
84
+ return super().changelist_view(request, extra_context)
75
85
 
76
86
  def get_fieldsets(self, request: HttpRequest, obj=None) -> FieldsetsType:
77
87
  if not obj and self.add_fieldsets:
@@ -22,7 +22,7 @@ class RadioFilter(admin.SimpleListFilter):
22
22
  all_option = ["", _("All")]
23
23
 
24
24
  def choices(self, changelist: ChangeList) -> tuple[dict[str, Any], ...]:
25
- add_facets = changelist.add_facets
25
+ add_facets = getattr(changelist, "add_facets", False)
26
26
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
27
27
  choices = []
28
28
 
@@ -78,7 +78,7 @@ class BooleanRadioFilter(ValueMixin, admin.BooleanFieldListFilter):
78
78
  all_option = ["", _("All")]
79
79
 
80
80
  def choices(self, changelist: ChangeList) -> Generator[dict[str, Any], None, None]:
81
- add_facets = changelist.add_facets
81
+ add_facets = getattr(changelist, "add_facets", False)
82
82
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
83
83
 
84
84
  if add_facets:
@@ -119,7 +119,7 @@ class RelatedCheckboxFilter(MultiValueMixin, admin.RelatedFieldListFilter):
119
119
  return queryset
120
120
 
121
121
  def choices(self, changelist: ChangeList) -> Generator[dict[str, Any], None, None]:
122
- add_facets = changelist.add_facets
122
+ add_facets = getattr(changelist, "add_facets", False)
123
123
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
124
124
 
125
125
  if add_facets:
@@ -147,7 +147,7 @@ class AllValuesCheckboxFilter(MultiValueMixin, admin.AllValuesFieldListFilter):
147
147
  form_class = CheckboxForm
148
148
 
149
149
  def choices(self, changelist: ChangeList) -> Generator[dict[str, Any], None, None]:
150
- add_facets = changelist.add_facets
150
+ add_facets = getattr(changelist, "add_facets", False)
151
151
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
152
152
 
153
153
  if add_facets:
@@ -86,7 +86,7 @@ class RelatedDropdownFilter(ValueMixin, DropdownMixin, admin.RelatedFieldListFil
86
86
  self.request = request
87
87
 
88
88
  def choices(self, changelist: ChangeList) -> Generator[dict[str, Any], None, None]:
89
- add_facets = changelist.add_facets
89
+ add_facets = getattr(changelist, "add_facets", False)
90
90
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
91
91
 
92
92
  if add_facets:
@@ -55,7 +55,7 @@ class ChoicesMixin:
55
55
  template = "unfold/filters/filters_field.html"
56
56
 
57
57
  def choices(self, changelist: ChangeList) -> Generator[dict[str, Any], None, None]:
58
- add_facets = changelist.add_facets
58
+ add_facets = getattr(changelist, "add_facets", False)
59
59
  facet_counts = self.get_facet_queryset(changelist) if add_facets else None
60
60
  choices = [self.all_option] if self.all_option else []
61
61
 
@@ -82,9 +82,9 @@ class UnfoldAdminSite(AdminSite):
82
82
  "switch": " ".join(SWITCH_CLASSES),
83
83
  "file": " ".join(FILE_CLASSES),
84
84
  },
85
- "site_title": self._get_config("SITE_TITLE", request) or self.site_title,
86
- "site_header": self._get_config("SITE_HEADER", request) or self.site_header,
87
- "site_url": self._get_config("SITE_URL", request) or self.site_url,
85
+ "site_title": self._get_config("SITE_TITLE", request),
86
+ "site_header": self._get_config("SITE_HEADER", request),
87
+ "site_url": self._get_config("SITE_URL", request),
88
88
  "site_subheader": self._get_config("SITE_SUBHEADER", request),
89
89
  "site_dropdown": self._get_site_dropdown_items("SITE_DROPDOWN", request),
90
90
  "site_logo": self._get_theme_images("SITE_LOGO", request),
@@ -1,6 +1,6 @@
1
1
  {% load admin_urls i18n unfold %}
2
2
 
3
- <div class="js-inline-admin-formset inline-group" id="{{ inline_admin_formset.formset.prefix }}-group" data-inline-type="stacked" data-inline-formset="{{ inline_admin_formset.inline_formset_data }}" {% if inline_admin_formset.opts.tab %}x-show="activeTab == '{{ inline_admin_formset.opts.verbose_name|slugify }}'"{% else %}x-show="activeTab == 'general'"{% endif %}>
3
+ <div class="js-inline-admin-formset inline-group" id="{{ inline_admin_formset.formset.prefix }}-group" data-inline-type="stacked" data-inline-formset="{{ inline_admin_formset.inline_formset_data }}" {% if inline_admin_formset.opts.tab %}x-show="activeTab == '{{ inline_admin_formset.formset.prefix|slugify }}'"{% else %}x-show="activeTab == 'general'"{% endif %}>
4
4
  <fieldset class="module relative {{ inline_admin_formset.classes }}" aria-labelledby="{{ inline_admin_formset.formset.prefix }}-heading">
5
5
  {% if inline_admin_formset.is_collapsible %}<details><summary>{% endif %}
6
6
 
@@ -1,6 +1,6 @@
1
1
  {% load admin_modify admin_urls i18n static unfold %}
2
2
 
3
- <div class="js-inline-admin-formset inline-group" id="{{ inline_admin_formset.formset.prefix }}-group" data-inline-type="tabular" data-inline-formset="{{ inline_admin_formset.inline_formset_data }}" {% if inline_admin_formset.opts.tab %}x-show="activeTab == '{{ inline_admin_formset.opts.verbose_name|slugify }}'"{% else %}x-show="activeTab == 'general'"{% endif %}>
3
+ <div class="js-inline-admin-formset inline-group" id="{{ inline_admin_formset.formset.prefix }}-group" data-inline-type="tabular" data-inline-formset="{{ inline_admin_formset.inline_formset_data }}" {% if inline_admin_formset.opts.tab %}x-show="activeTab == '{{ inline_admin_formset.formset.prefix|slugify }}'"{% else %}x-show="activeTab == 'general'"{% endif %}>
4
4
  <div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">
5
5
  {{ inline_admin_formset.formset.management_form }}
6
6
 
@@ -90,7 +90,9 @@
90
90
  {% endif %}
91
91
 
92
92
  {% if not theme %}
93
- {% include "unfold/helpers/theme_switch.html" %}
93
+ <div class="ml-auto">
94
+ {% include "unfold/helpers/theme_switch.html" %}
95
+ </div>
94
96
  {% endif %}
95
97
  </div>
96
98
  </div>
@@ -5,11 +5,11 @@
5
5
  {% for item in tabs_list %}
6
6
  {% if item.has_permission %}
7
7
  <li class="border-b last:border-b-0 md:border-b-0 md:mr-8 dark:border-base-800">
8
- <a href="{% if item.link_callback %}{{ item.link_callback }}{% else %}{{ item.link }}{% endif %}{% if item.inline %}#{{ item.inline }}{% endif %}"
8
+ <a href="{% if item.link_callback %}{{ item.link_callback }}{% else %}{{ item.link }}{% endif %}{% if item.inline %}#{{ item.inline|slugify }}{% endif %}"
9
9
  class="block px-3 py-2 md:py-4 md:px-0 dark:border-base-800 {% if item.active and not item.inline %} border-b font-semibold -mb-px text-primary-600 hover:text-primary-600 dark:text-primary-500 dark:hover:text-primary-500 md:border-primary-500 dark:md:!border-primary-600{% else %}font-medium hover:text-primary-600 dark:hover:text-primary-500{% endif %}"
10
10
  {% if item.inline %}
11
- x-on:click="activeTab = '{{ item.inline }}'"
12
- x-bind:class="{'border-b border-base-200 dark:border-base-800 md:border-primary-500 dark:md:!border-primary-600 font-semibold -mb-px text-primary-600 dark:text-primary-500': activeTab == '{{ item.inline }}'}"
11
+ x-on:click="activeTab = '{{ item.inline|slugify }}'"
12
+ x-bind:class="{'border-b border-base-200 dark:border-base-800 md:border-primary-500 dark:md:!border-primary-600 font-semibold -mb-px text-primary-600 dark:text-primary-500': activeTab == '{{ item.inline|slugify }}'}"
13
13
  {% endif %}
14
14
  >
15
15
  {{ item.title }}
@@ -31,9 +31,9 @@
31
31
  {% for inline in inlines_list %}
32
32
  <li class="border-b last:border-b-0 md:border-b-0 md:mr-8 dark:border-base-800">
33
33
  <a class="block cursor-pointer font-medium px-3 py-2 md:py-4 md:px-0"
34
- href="#{{ inline.opts.verbose_name|slugify }}"
35
- x-on:click="activeTab = '{{ inline.opts.verbose_name|slugify }}'"
36
- x-bind:class="{'border-b border-base-200 dark:border-base-800 md:border-primary-500 dark:md:!border-primary-600 font-semibold -mb-px text-primary-600 dark:text-primary-500': activeTab == '{{ inline.opts.verbose_name|slugify }}', 'hover:text-primary-600 dark:hover:text-primary-500 dark:border-base-800': activeTab != '{{ inline.opts.verbose_name|slugify }}'}">
34
+ href="#{{ inline.formset.prefix|slugify }}"
35
+ x-on:click="activeTab = '{{ inline.formset.prefix|slugify }}'"
36
+ x-bind:class="{'border-b border-base-200 dark:border-base-800 md:border-primary-500 dark:md:!border-primary-600 font-semibold -mb-px text-primary-600 dark:text-primary-500': activeTab == '{{ inline.formset.prefix|slugify }}', 'hover:text-primary-600 dark:hover:text-primary-500 dark:border-base-800': activeTab != '{{ inline.formset.prefix|slugify }}'}">
37
37
  {% if inline.formset.max_num == 1 %}
38
38
  {{ inline.opts.verbose_name|capfirst }}
39
39
  {% else %}
File without changes