Skip to content
Snippets Groups Projects
Commit b814e632 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix ExtensibleForm docstring

parent de0137f7
No related branches found
No related tags found
1 merge request!333Documentation for beta release (Documentation for first release part 1)
......@@ -327,17 +327,16 @@ class ExtensibleForm(ModelForm, metaclass=_ExtensibleFormMetaclass):
This mixin adds functionality which allows
- apps to add layout nodes to the layout used by django-material
Add layout nodes
================
:Add layout nodes:
.. code-block:: python
```
from material import Fieldset
from material import Fieldset
from aleksis.core.forms import ExampleForm
from aleksis.core.forms import ExampleForm
node = Fieldset("field_name")
ExampleForm.add_node_to_layout(node)
```
node = Fieldset("field_name")
ExampleForm.add_node_to_layout(node)
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment