[tabs] Fix bad __regid__ and missing import
authorVincent Michel <vincent.michel@logilab.fr>
Wed, 17 Jul 2013 13:28:44 +0200
changeset 306 3e489173f8c3
parent 305 7f2926b4049e
child 307 d4526f95d55e
[tabs] Fix bad __regid__ and missing import
views/tabs.py
--- a/views/tabs.py	Tue Jul 16 16:39:40 2013 +0200
+++ b/views/tabs.py	Wed Jul 17 13:28:44 2013 +0200
@@ -16,6 +16,8 @@
 # You should have received a copy of the GNU Lesser General Public License along
 # with this program. If not, see <http://www.gnu.org/licenses/>.
 
+from logilab.mtconverter import xml_escape
+
 from cubicweb.predicates import is_instance, nonempty_rset
 from cubicweb.web import component
 
@@ -87,7 +89,7 @@
 class BrainomicsTabblableWiki(AbstractBrainomicsTabblable):
     """ Component used to display a tab with wiki. """
     __select__ = AbstractBrainomicsTabblable.__select__ & is_instance(*WIKI_ENTITIES)
-    __regid__ = 'entity-comment-tab'
+    __regid__ = 'entity-wiki-tab'
 
     def get_title(self):
         return self._cw._('Documentation')