diff --git a/parlamentares/forms.py b/parlamentares/forms.py index 5ba68216d..9cee5a47d 100644 --- a/parlamentares/forms.py +++ b/parlamentares/forms.py @@ -75,7 +75,7 @@ class ParlamentaresForm (ModelForm): def __init__(self, *args, **kwargs): row1 = crispy_layout_mixin.to_row( - [('nome_parlamentar', 8), (InlineRadios('ativo'), 4)]) + [('nome_parlamentar', 8), ('ativo', 4)]) row2 = crispy_layout_mixin.to_row( [('nome_completo', 12)]) @@ -146,7 +146,6 @@ class ParlamentaresForm (ModelForm): """, ), row14, form_actions()) - ) super(ParlamentaresForm, self).__init__( *args, **kwargs) @@ -157,7 +156,6 @@ class ParlamentaresEditForm(ParlamentaresForm): def __init__(self, *args, **kwargs): super(ParlamentaresEditForm, self).__init__( *args, **kwargs) - self.helper.layout[0][-1:] = form_actions(more=[ HTML(' '), Submit('excluir', 'Excluir',