diff --git a/protocoloadm/views.py b/protocoloadm/views.py index 248cb4c4d..216af2f1c 100644 --- a/protocoloadm/views.py +++ b/protocoloadm/views.py @@ -149,8 +149,8 @@ class ProtocoloForm(forms.Form): ('0', 'Administrativo'), ('1', 'Legislativo'), ('', 'Ambos')], - widget=forms.RadioSelect( - renderer=HorizontalRadioRenderer) + # widget=forms.RadioSelect( + # renderer=HorizontalRadioRenderer) ) @@ -203,7 +203,7 @@ class ProtocoloForm(forms.Form): [('natureza_processo', 12)]) self.helper = FormHelper() - self.helper.layout = Layout(row1, row2, row3, row4, row5) + self.helper.layout = Layout(row1, row2, row3, row4, row5, form_actions(save_label='Pesquisar')) super(ProtocoloForm, self).__init__( *args, **kwargs) diff --git a/templates/protocoloadm/protocolo_pesquisa.html b/templates/protocoloadm/protocolo_pesquisa.html index 5b699906f..60a795994 100644 --- a/templates/protocoloadm/protocolo_pesquisa.html +++ b/templates/protocoloadm/protocolo_pesquisa.html @@ -3,12 +3,7 @@ {% load crispy_forms_tags %} {% block detail_content %} -
- {% csrf_token %} -
- Pesquisa Avançada - {% crispy form %} - -
-
+ Pesquisa Avançada + {% crispy form %} + {% endblock detail_content %}