class SliceList (SimpleList):
def __init__ (self, **settings):
- SimpleList.__init__(self, key='slice_hrn', **settings)
+ SimpleList.__init__(self, key='slice.slice_hrn', classname='slicelist', **settings)
# writing a js plugin for that would be overkill, just use SimpleList
def plugin_classname (self):
return 'SimpleList'
+
+ def requirements (self):
+ req = SimpleList.requirements(self)
+ req['css_files'] += [ 'css/slicelist.css' ]
+ return req