[FIX] doc: states attributes explanation
This commit is contained in:
parent
2451dfcee4
commit
7f2dc11b22
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue