use form.form_field_vocabulary instead of entity.vocabulary
CubicWeb semantic web framework ===============================Install-------From the source distribution, extract the tarball and run :: python setup.py installFor deb and rpm packages, use the tools recommended by your distribution.Documentation-------------Look in the doc/ subdirectory.