equal
deleted
inserted
replaced
1 The automatic entity form (:mod:`cubicweb.web.views.autoform`) |
1 The automatic entity form (:mod:`cubicweb.web.views.autoform`) |
2 --------------------------------------------------------------- |
2 --------------------------------------------------------------- |
3 |
3 |
4 It is possible to manage attributes/relations in the simple or multiple |
4 It is possible to manage attributes/relations in the simple or multiple |
5 editing form thanks to the following *rtags*: |
5 editing form thanks to the following *rtags*: |
6 |
6 |
7 * `primary`, indicates that an attribute or a relation has to be |
7 * `primary`, indicates that an attribute or a relation has to be |
8 inserted **in the simple or multiple editing forms**. In the case of |
8 inserted **in the simple or multiple editing forms**. In the case of |
9 a relation, the related entity editing form will be included in the |
9 a relation, the related entity editing form will be included in the |
10 editing form and represented as a combobox. Each item of the |
10 editing form and represented as a combobox. Each item of the |
24 editing form, in the generic box of relation creation. |
24 editing form, in the generic box of relation creation. |
25 |
25 |
26 * `generated`, indicates that an attribute is dynamically computed |
26 * `generated`, indicates that an attribute is dynamically computed |
27 or other, and that it should not be displayed in the editing form. |
27 or other, and that it should not be displayed in the editing form. |
28 |
28 |
29 If necessary, it is possible to overwrite the method |
29 If necessary, it is possible to overwrite the method |
30 `relation_category(rtype, x='subject')` to dynamically compute |
30 `relation_category(rtype, x='subject')` to dynamically compute |
31 a relation editing category. |
31 a relation editing category. |