author | sylvain.thenault@logilab.fr |
Wed, 11 Mar 2009 19:51:27 +0100 | |
branch | tls-sprint |
changeset 1068 | 04c745ce692e |
parent 1067 | f37ee6855e42 |
child 1069 | 84bc7dce1876 |
web/form.py | file | annotate | diff | comparison | revisions |
--- a/web/form.py Wed Mar 11 19:51:08 2009 +0100 +++ b/web/form.py Wed Mar 11 19:51:27 2009 +0100 @@ -372,8 +372,6 @@ options.append(tags.option(label, value=value, selected='selected')) else: options.append(tags.option(label, value=value)) - if attrs is None: - return tags.select(name=name, options=options) return tags.select(name=name, multiple=self.multiple, options=options, **attrs)