1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
23 from logilab.mtconverter import xml_escape |
23 from logilab.mtconverter import xml_escape |
24 |
24 |
25 from logilab.common.decorators import cached |
25 from logilab.common.decorators import cached |
26 |
26 |
27 from cubicweb import UnknownProperty |
27 from cubicweb import UnknownProperty |
28 from cubicweb.selectors import (one_line_rset, none_rset, is_instance, |
28 from cubicweb.predicates import (one_line_rset, none_rset, is_instance, |
29 match_user_groups, objectify_selector, |
29 match_user_groups, logged_user_in_rset) |
30 logged_user_in_rset) |
|
31 from cubicweb.view import StartupView |
30 from cubicweb.view import StartupView |
32 from cubicweb.web import uicfg, stdmsgs |
31 from cubicweb.web import uicfg, stdmsgs |
33 from cubicweb.web.form import FormViewMixIn |
32 from cubicweb.web.form import FormViewMixIn |
34 from cubicweb.web.formfields import FIELDS, StringField |
33 from cubicweb.web.formfields import FIELDS, StringField |
35 from cubicweb.web.formwidgets import (Select, TextInput, Button, SubmitButton, |
34 from cubicweb.web.formwidgets import (Select, TextInput, Button, SubmitButton, |