Skip to content

Commit

Permalink
Avoid invalid Python in documentation (#1081)
Browse files Browse the repository at this point in the history
Breaks syntax highlighting, see https://django-crispy-forms.readthedocs.io/en/latest/layouts.html#bootstrap-layout-objects (scroll to the `Alert` section).
  • Loading branch information
davidbgk committed Nov 13, 2020
1 parent a52cbd6 commit 902467f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/layouts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ These ones live under module ``crispy_forms.bootstrap``.

- **Alert**: ``Alert`` generates markup in the form of an alert dialog::

Alert(content='<strong>Warning!</strong> Best check yo self, you're not looking too good.')
Alert(content="<strong>Warning!</strong> Best check yo self, you're not looking too good.")

.. image:: images/alert.png
:align: center
Expand Down

0 comments on commit 902467f

Please sign in to comment.