Skip to content

Commit

Permalink
Fixed headlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jun 22, 2013
1 parent a2a9e6a commit 8d14d45
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/z3c/form/term.txt
Expand Up @@ -78,6 +78,7 @@ Now, there are several terms implementations that were designed for particular
fields. Within the framework, terms are used as adapters with the follwoing
discriminators: context, request, form, field, vocabulary/source and widget.


Choice field
~~~~~~~~~~~~

Expand Down Expand Up @@ -134,7 +135,9 @@ We should now be able to get all terms as before:
>>> [entry.title for entry in terms]
[u'bad', u'okay', u'good']


Missing terms
+++++++++++++

Sometimes it happens that a term goes away from the vocabulary, but our
stored objects still reference that term.
Expand Down Expand Up @@ -224,7 +227,7 @@ And an exception if it does not:


Bool fields
+++++++++++
~~~~~~~~~~~

A similar terms implementation exists for a ``Bool`` field:

Expand All @@ -245,8 +248,9 @@ can subclass the ``BoolTerms`` class to control the display labels.
>>> [entry.title for entry in terms]
[u'True', u'False']


Collections
+++++++++++
~~~~~~~~~~~

Finally, there are a terms adapters for all collections. But we have to
register some adapters before using it:
Expand Down

0 comments on commit 8d14d45

Please sign in to comment.