doc/tutorials/advanced/part05_ui-advanced.rst
changeset 12417 d0206861996a
parent 12416 30b83cf45dd4
child 12556 d1c659d70368
equal deleted inserted replaced
12416:30b83cf45dd4 12417:d0206861996a
   216 the `Person displayed_on File` relation. We can do this simply by adding a
   216 the `Person displayed_on File` relation. We can do this simply by adding a
   217 :class:`AjaxEditRelationCtxComponent` subclass to our views, as below:
   217 :class:`AjaxEditRelationCtxComponent` subclass to our views, as below:
   218 
   218 
   219 .. sourcecode:: python
   219 .. sourcecode:: python
   220 
   220 
       
   221     from cubicweb import _
   221     from logilab.common.decorators import monkeypatch
   222     from logilab.common.decorators import monkeypatch
   222     from cubicweb import ValidationError
   223     from cubicweb import ValidationError
   223     from cubicweb.web.views import uicfg, component
   224     from cubicweb.web.views import uicfg, component
   224     from cubicweb.web.views import basecontrollers
   225     from cubicweb.web.views import basecontrollers
   225 
   226