Increase size of Roles select when editing a User

This commit is contained in:
Lance Edgar 2017-02-17 14:24:13 -06:00
parent 93f40ef36e
commit def2931ba6

View file

@ -179,7 +179,7 @@ class UsersView(PrincipalMasterView):
fs.password.attrs(autocomplete='off') fs.password.attrs(autocomplete='off')
fs.append(formalchemy.Field('confirm_password', renderer=PasswordFieldRenderer)) fs.append(formalchemy.Field('confirm_password', renderer=PasswordFieldRenderer))
fs.confirm_password.attrs(autocomplete='off') fs.confirm_password.attrs(autocomplete='off')
fs.append(RolesField('roles', renderer=RolesFieldRenderer(self.request))) fs.append(RolesField('roles', renderer=RolesFieldRenderer(self.request), size=10))
def configure_fieldset(self, fs): def configure_fieldset(self, fs):
fs.configure( fs.configure(