author | sylvain.thenault@logilab.fr |
Wed, 22 Apr 2009 16:56:03 +0200 | |
branch | tls-sprint |
changeset 1425 | 3ad7cfca481e |
parent 1424 | 0a440312913b |
child 1426 | 379261551578 |
--- a/web/formwidgets.py Wed Apr 22 16:55:46 2009 +0200 +++ b/web/formwidgets.py Wed Apr 22 16:56:03 2009 +0200 @@ -165,6 +165,8 @@ def render(self, form, field): name, curvalues, attrs = self._render_attrs(form, field) + if not 'size' in attrs: + attrs['size'] = '5' options = [] for label, value in field.vocabulary(form): if value is None: