##// END OF EJS Templates
helpers: fixed options generation typo.
marcink -
r4124:1085ccab default
parent child Browse files
Show More
@@ -191,7 +191,7 b' def select(name, selected_values, option'
191 option_group = options.add_optgroup(label)
191 option_group = options.add_optgroup(label)
192 for opt2 in value:
192 for opt2 in value:
193 if isinstance(opt2, tuple) and len(opt2) == 2:
193 if isinstance(opt2, tuple) and len(opt2) == 2:
194 group_value, group_label = opt
194 group_value, group_label = opt2
195 elif isinstance(opt2, basestring):
195 elif isinstance(opt2, basestring):
196 group_value = group_label = opt2
196 group_value = group_label = opt2
197 else:
197 else:
General Comments 0
You need to be logged in to leave comments. Login now