author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Wed, 29 Apr 2009 11:49:19 +0200 | |
branch | tls-sprint |
changeset 1538 | 806a7ca31411 |
parent 1537 | 788b5ca792bd |
child 1539 | b0d583d30508 |
--- a/web/formwidgets.py Wed Apr 29 11:24:11 2009 +0200 +++ b/web/formwidgets.py Wed Apr 29 11:49:19 2009 +0200 @@ -165,7 +165,7 @@ def render(self, form, field): name, curvalues, attrs = self._render_attrs(form, field) - if not 'size' in attrs: + if not 'size' in attrs and self.multiple: attrs['size'] = '5' options = [] for label, value in field.vocabulary(form):