Commits

Andriy Kornatskyy committed 53c4c62

attrs are required for dropdown widget

Comments (0)

Files changed (1)

src/wheezy/html/widgets.py

     return Tag('label', inner=value, attrs=tag_attrs)
 
 
-def dropdown(name, value, attrs=None):
+def dropdown(name, value, attrs):
     """
         >>> colors = (('1', 'Yellow'), ('2', 'Red'))
         >>> dropdown('favorite_color', '1', attrs={