Tag
####
.. php:namespace:: Nos
.. php:class:: Renderer_Tag
| Extends :php:class:`Nos\\Renderer`.
| This renderer is used to add tags on an item.
| It's based on `jQuery UI Tag-it `__.
.. image:: images/tag.png
:alt: Tag UI
Configuration
*************
Any options for the jQuery UI Tag-it widget. See the
`documentation `__ for all available options.
Example
*******
Adding a tags editor in a CRUD form configuration:
.. code-block:: php
'',
'renderer' => 'Nos\Renderer_Tag',
'renderer_options' => array(
'model' => 'Model_Tag',
'label_column' => 'tag_label',
'relation_name' => 'tags'
),
);