[FIX] doc: states attributes explanation

This commit is contained in:
Martin Trigaux 2015-06-17 14:55:19 +02:00
parent 2451dfcee4
commit 7f2dc11b22
1 changed files with 2 additions and 2 deletions

View File

@ -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