diff --git a/materia/views.py b/materia/views.py index 1a49ea5bf..06412534e 100644 --- a/materia/views.py +++ b/materia/views.py @@ -513,6 +513,7 @@ class NumeracaoView(FormMixin, GenericView): class NumeracaoEditView(FormMixin, GenericView): template_name = "materia/numeracao_edit.html" + form_class = NumeracaoForm def get(self, request, *args, **kwargs): materia = MateriaLegislativa.objects.get(id=kwargs['pk']) @@ -678,6 +679,7 @@ class DocumentoAcessorioEditView(FormMixin, GenericView): class RelatoriaEditView(FormMixin, GenericView): template_name = "materia/relatoria_edit.html" + form_class = RelatoriaForm def get_success_url(self): pk = self.kwargs['pk'] @@ -734,6 +736,7 @@ class RelatoriaEditView(FormMixin, GenericView): class RelatoriaView(FormMixin, GenericView): template_name = "materia/relatoria.html" + form_class = RelatoriaForm def get_success_url(self): pk = self.kwargs['pk']