summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorantoliny0919 <antoliny0919@gmail.com>2025-08-07 22:17:50 +0900
committerJacob Walls <jacobtylerwalls@gmail.com>2026-02-27 07:43:45 -0500
commit187a789f99ecbc708de517c6b54d480b68ba59fe (patch)
treea9ad3ba592bf6c65cb14b39110adbfbaa2825a51 /docs/ref
parentd4ab33af061c13e290b6996756b2c72578891285 (diff)
Fixed #34643 -- Moved inputs beneath labels and errors in admin forms.
Thanks Sarah Boyce and Jacob Walls for reviews. Co-authored-by: Hrushikesh Vaidya <hrushikeshrv@gmail.com>
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/_images/fieldsets.pngbin18267 -> 56736 bytes
-rw-r--r--docs/ref/contrib/admin/_images/raw_id_fields.pngbin997 -> 4003 bytes
-rw-r--r--docs/ref/contrib/admin/index.txt13
3 files changed, 7 insertions, 6 deletions
diff --git a/docs/ref/contrib/admin/_images/fieldsets.png b/docs/ref/contrib/admin/_images/fieldsets.png
index e5bc614f25..5b3f472b8d 100644
--- a/docs/ref/contrib/admin/_images/fieldsets.png
+++ b/docs/ref/contrib/admin/_images/fieldsets.png
Binary files differ
diff --git a/docs/ref/contrib/admin/_images/raw_id_fields.png b/docs/ref/contrib/admin/_images/raw_id_fields.png
index 7f16b11032..42f1d48fc2 100644
--- a/docs/ref/contrib/admin/_images/raw_id_fields.png
+++ b/docs/ref/contrib/admin/_images/raw_id_fields.png
Binary files differ
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index d52857d6ba..b3c7c2c426 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -418,22 +418,23 @@ subclass::
* ``classes``
A list or tuple containing extra CSS classes to apply to the fieldset.
This can include any custom CSS class defined in the project, as well
- as any of the CSS classes provided by Django. Within the default admin
- site CSS stylesheet, two particularly useful classes are defined:
- ``collapse`` and ``wide``.
+ as the CSS class provided by Django: ``collapse``.
Example::
{
- "classes": ["wide", "collapse"],
+ "classes": ["collapse"],
}
- Fieldsets with the ``wide`` style will be given extra horizontal
- space in the admin interface.
Fieldsets with a name and the ``collapse`` style will be initially
collapsed, using an expandable widget with a toggle for switching
their visibility.
+ .. versionchanged:: 6.1
+
+ The ``wide`` class has been removed, as it was made obsolete by the
+ new admin layout.
+
* ``description``
A string of optional extra text to be displayed at the top of each
fieldset, under the heading of the fieldset.