web/views/editviews.py
branchstable
changeset 2197 397e3e4583f7
parent 1977 606923dff11b
child 2234 1fbcf202882d
child 2312 af4d8f75c5db
equal deleted inserted replaced
2196:b08521e4eaab 2197:397e3e4583f7
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
       
     9 _ = unicode
     9 
    10 
    10 from simplejson import dumps
    11 from simplejson import dumps
    11 
    12 
    12 from logilab.common.decorators import cached
    13 from logilab.common.decorators import cached
    13 from logilab.mtconverter import html_escape
    14 from logilab.mtconverter import html_escape
    19 from cubicweb.common.uilib import cut
    20 from cubicweb.common.uilib import cut
    20 from cubicweb.web.views import linksearch_select_url
    21 from cubicweb.web.views import linksearch_select_url
    21 from cubicweb.web.views.editforms import relation_id
    22 from cubicweb.web.views.editforms import relation_id
    22 from cubicweb.web.views.baseviews import FinalView
    23 from cubicweb.web.views.baseviews import FinalView
    23 
    24 
    24 _ = unicode
       
    25 
    25 
    26 class SearchForAssociationView(EntityView):
    26 class SearchForAssociationView(EntityView):
    27     """view called by the edition view when the user asks to search for
    27     """view called by the edition view when the user asks to search for
    28     something to link to the edited eid
    28     something to link to the edited eid
    29     """
    29     """