diff --git a/sapl/parlamentares/views.py b/sapl/parlamentares/views.py index dce94b5bc..3186f686e 100644 --- a/sapl/parlamentares/views.py +++ b/sapl/parlamentares/views.py @@ -167,7 +167,6 @@ class ParlamentarCrud(Crud): public = [RP_LIST, RP_DETAIL] class BaseMixin(Crud.BaseMixin): - form_class = ParlamentarCreateForm ordered_list = False list_field_names = [ 'avatar_html', 'nome_parlamentar', 'filiacao_atual', 'ativo'] @@ -183,6 +182,7 @@ class ParlamentarCrud(Crud): form_class = ParlamentarForm class CreateView(Crud.CreateView): + form_class = ParlamentarCreateForm @property def layout_key(self):