From c220662eed53a936994d63e0195fe0b6441962ef Mon Sep 17 00:00:00 2001 From: Sage Abdullah Date: Thu, 20 Jul 2023 16:12:27 +0100 Subject: [PATCH] Fix link in custom HTML attributes in Panels documentation --- docs/reference/pages/panels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/pages/panels.md b/docs/reference/pages/panels.md index 8dd100357287..65e13487bb5b 100644 --- a/docs/reference/pages/panels.md +++ b/docs/reference/pages/panels.md @@ -351,7 +351,7 @@ Without a top-level panel definition, a `FieldPanel` will be constructed for eac ### Additional HTML attributes -Use the `attrs` parameter to add custom attributes to the HTML element of the panel. This allows you to specify additional attributes, such as `data-*` attributes. The `attrs` parameter accepts a dictionary where the keys are the attribute names and these will be rendered in the same way as Django's widget `attrs`[https://docs.djangoproject.com/en/stable/ref/forms/widgets/#django.forms.Widget.attrs] where `True` and `False will be treated as HTML5 boolean attributes. +Use the `attrs` parameter to add custom attributes to the HTML element of the panel. This allows you to specify additional attributes, such as `data-*` attributes. The `attrs` parameter accepts a dictionary where the keys are the attribute names and these will be rendered in the same way as Django's widget {attr}`~django.forms.Widget.attrs` where `True` and `False` will be treated as HTML5 boolean attributes. For example, you can use the `attrs` parameter to integrate your Stimulus controller to the panel: