equal
deleted
inserted
replaced
1 """Set of views allowing edition of entities/relations using ajax |
1 """Set of views allowing edition of entities/relations using ajax |
2 |
2 |
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
4 :copyright: 2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 """ |
6 """ |
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 from cubicweb.common.selectors import (chainfirst, match_form_params, |
9 from cubicweb.selectors import chainfirst, match_form_params, match_kwargs |
10 match_kwargs) |
|
11 from cubicweb.web.box import EditRelationBoxTemplate |
10 from cubicweb.web.box import EditRelationBoxTemplate |
12 |
11 |
13 class AddRelationView(EditRelationBoxTemplate): |
12 class AddRelationView(EditRelationBoxTemplate): |
14 """base class for view which let add entities linked |
13 """base class for view which let add entities linked |
15 by a given relation |
14 by a given relation |