Merge branch 'master' of ssh://git.onelab.eu/git/myslice-django
[unfold.git] / plugins / tabs.py
index 4008e4f..c91f4cf 100644 (file)
@@ -2,14 +2,12 @@ from engine.composite import Composite
 
 class Tabs (Composite):
     
-    def title (self): 
-        return "Some tabs"
-
     def requirements (self):
         return { 'js_files'     : 'bootstrap/js/bootstrap.js',
-                 'css_files'    : 'bootstrap/css/bootstrap.css' }
+                 'css_files'    : ['bootstrap/css/bootstrap.css',
+                                   'css/tabs.css',
+                                   ] }
 
-    def template (self):
+    def template_file (self):
         return "tabs.html"
-    
-    
+