web/views/reledit.py
changeset 7156 b1521f1546e0
parent 7077 784d6f300070
parent 7151 04d0624a1832
child 7834 258fc0b4a1e0
equal deleted inserted replaced
7154:5e2f93b88d86 7156:b1521f1546e0
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2011 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
   221 
   221 
   222     def _build_delete_zone(self):
   222     def _build_delete_zone(self):
   223         return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo)
   223         return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo)
   224 
   224 
   225     def _build_add_zone(self):
   225     def _build_add_zone(self):
   226         return self._build_zone(self._addzone, self._addzonemsg, self._addlogo)
   226         return self._build_zone(self._addzone, self._addmsg, self._addlogo)
   227 
   227 
   228     def _build_divid(self, rtype, role, entity_eid):
   228     def _build_divid(self, rtype, role, entity_eid):
   229         """ builds an id for the root div of a reledit widget """
   229         """ builds an id for the root div of a reledit widget """
   230         return '%s-%s-%s' % (rtype, role, entity_eid)
   230         return '%s-%s-%s' % (rtype, role, entity_eid)
   231 
   231