diff --git a/sapl/base/forms.py b/sapl/base/forms.py index b0edb6ea3..2c891dc18 100644 --- a/sapl/base/forms.py +++ b/sapl/base/forms.py @@ -231,14 +231,14 @@ class UsuarioEditForm(ModelForm): ('email', 6), ('user_active', 6), ('password1', 6), - ('password2', 6))) + ('password2', 6), + ('roles', 12))) self.helper = SaplFormHelper() self.helper.layout = Layout( 'username', FieldWithButtons('token', StrictButton('Renovar', id="renovar-token", css_class="btn-outline-primary")), rows, - 'roles', form_actions(label='Salvar Alterações')) def clean(self): diff --git a/sapl/templates/crud/usuario_edit.html b/sapl/templates/crud/usuario_edit.html index dca9719d7..d922e68d4 100644 --- a/sapl/templates/crud/usuario_edit.html +++ b/sapl/templates/crud/usuario_edit.html @@ -2,7 +2,6 @@ {% load i18n %} {% block extra_js %} -