web/views/reledit.py
branchstable
changeset 7151 04d0624a1832
parent 7070 5f8e52d722c5
child 7156 b1521f1546e0
--- a/web/views/reledit.py	Thu Mar 31 09:17:43 2011 +0200
+++ b/web/views/reledit.py	Thu Mar 31 15:18:21 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,7 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""the 'reedit' feature (eg edit attribute/relation from primary view"""
+"""the 'reledit' feature (eg edit attribute/relation from primary view)"""
 
 __docformat__ = "restructuredtext en"
 _ = unicode
@@ -221,10 +221,10 @@
         return self._build_zone(self._editzone, self._editzonemsg, self._editlogo)
 
     def _build_delete_zone(self):
-        return self._build_zone(self._deletezone, self._deletezonemsg, self._deletelogo)
+        return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo)
 
     def _build_add_zone(self):
-        return self._build_zone(self._addzone, self._addzonemsg, self._addlogo)
+        return self._build_zone(self._addzone, self._addmsg, self._addlogo)
 
     def _build_divid(self, rtype, role, entity_eid):
         """ builds an id for the root div of a reledit widget """