diff --git a/xadmin/views/dashboard.py b/xadmin/views/dashboard.py index 7aa9dafd5..fd1ea2255 100644 --- a/xadmin/views/dashboard.py +++ b/xadmin/views/dashboard.py @@ -36,7 +36,7 @@ def __init__(self, widgets, attrs=None): def render(self, name, value, attrs=None): if value is None: value = '' - final_attrs = self.build_attrs(attrs, name=name) + final_attrs = self.build_attrs(attrs, {'name':name}) final_attrs['class'] = 'nav nav-pills nav-stacked' output = [u'