equal
deleted
inserted
replaced
49 |
49 |
50 For instance, to hide the ``title`` attribute of the ``Blog`` entity: |
50 For instance, to hide the ``title`` attribute of the ``Blog`` entity: |
51 |
51 |
52 .. sourcecode:: python |
52 .. sourcecode:: python |
53 |
53 |
54 from cubicweb.web import uicfg |
54 from cubicweb.web.views import uicfg |
55 uicfg.primaryview_section.tag_attribute(('Blog', 'title'), 'hidden') |
55 uicfg.primaryview_section.tag_attribute(('Blog', 'title'), 'hidden') |
56 |
56 |
57 **Relations** can be either displayed in one of the three sections or hidden. |
57 **Relations** can be either displayed in one of the three sections or hidden. |
58 |
58 |
59 For relations, there are two methods: |
59 For relations, there are two methods: |