diff --git a/protocoloadm/views.py b/protocoloadm/views.py index 03265372f..250d76ff6 100644 --- a/protocoloadm/views.py +++ b/protocoloadm/views.py @@ -454,7 +454,17 @@ class ProtocoloDocumentForm(forms.Form): self.helper.layout = Layout( Fieldset('Protocolo - Opção de Numeração', row1), Fieldset('Identificação de Documento', - row2, row3, row4, row5, row6) + row2, + row3, + row4, + row5, + row6, + HTML(" "), + ButtonHolder(Submit('submit', 'Protocolar Documento', + css_class='button primary' + ) + ) + ) ) super(ProtocoloDocumentForm, self).__init__( *args, **kwargs) @@ -561,7 +571,16 @@ class ProtocoloMateriaForm(forms.Form): self.helper.layout = Layout( Fieldset('Protocolo - Opção de Numeração', row1), Fieldset('Identificação da Matéria', - row2, row3, row4, row5) + row2, + row3, + row4, + row5, + HTML(" "), + ButtonHolder(Submit('submit', 'Protocolar Matéria', + css_class='button primary' + ) + ) + ) ) super(ProtocoloMateriaForm, self).__init__( *args, **kwargs) diff --git a/templates/protocoloadm/protocolar_documento.html b/templates/protocoloadm/protocolar_documento.html index b4bc98ace..87259a900 100644 --- a/templates/protocoloadm/protocolar_documento.html +++ b/templates/protocoloadm/protocolar_documento.html @@ -3,9 +3,5 @@ {% load crispy_forms_tags %} {% block detail_content %} -
- {% csrf_token %} - {% crispy form %} - -
+ {% crispy form %} {% endblock detail_content %} \ No newline at end of file diff --git a/templates/protocoloadm/protocolar_materia.html b/templates/protocoloadm/protocolar_materia.html index f0418ade1..87259a900 100644 --- a/templates/protocoloadm/protocolar_materia.html +++ b/templates/protocoloadm/protocolar_materia.html @@ -3,9 +3,5 @@ {% load crispy_forms_tags %} {% block detail_content %} -
- {% csrf_token %} - {% crispy form %} - -
+ {% crispy form %} {% endblock detail_content %} \ No newline at end of file