Plugin now has __repr__
[myslice.git] / plugins / tabs / tabs.py
index d487eec..0350c26 100644 (file)
@@ -1,4 +1,4 @@
-from engine.composite import Composite
+from unfold.composite import Composite
 
 class Tabs (Composite):
     
@@ -10,3 +10,5 @@ class Tabs (Composite):
     def template_file (self):
         return "tabs.html"
 
+    # see Composite.py for the details of template_env, that exposes global
+    # 'sons' as a list of sons with each a set of a few attributes