Skip to content
Snippets Groups Projects
Commit 7f2dc11b authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] doc: states attributes explanation

parent 2451dfce
No related branches found
No related tags found
No related merge requests found
......@@ -230,8 +230,8 @@ Possible children elements of the list view are:
Possible attributes are ``invisible`` (hides the button) and
``readonly`` (disables the button but still shows it)
``states``
shorthand for ``invisible`` ``attrs``: a list of space, separated
states, requires that the model has a ``state`` field and that it is
shorthand for ``invisible`` ``attrs``: a list of states, comma separated,
requires that the model has a ``state`` field and that it is
used in the view.
Makes the button ``invisible`` if the record is *not* in one of the
......
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