Browse Source

HOT-FIX: label botões Limpar Autor

pull/3097/head
João Rodrigues 5 years ago
parent
commit
164b22f069
  1. 4
      sapl/base/forms.py
  2. 2
      sapl/materia/forms.py
  3. 2
      sapl/sessao/forms.py

4
sapl/base/forms.py

@ -1078,7 +1078,7 @@ class RelatorioHistoricoTramitacaoFilterSet(django_filters.FilterSet):
'Pesquisar Autor',
css_class='btn btn-primary btn-sm'), 2),
(Button('limpar',
'limpar Autor',
'Limpar Autor',
css_class='btn btn-primary btn-sm'), 2)
])
@ -1386,7 +1386,7 @@ class RelatorioMateriasPorAutorFilterSet(django_filters.FilterSet):
'Pesquisar Autor',
css_class='btn btn-primary btn-sm'), 2),
(Button('limpar',
'limpar Autor',
'Limpar Autor',
css_class='btn btn-primary btn-sm'), 10)])
buttons = FormActions(

2
sapl/materia/forms.py

@ -1073,7 +1073,7 @@ class MateriaLegislativaFilterSet(django_filters.FilterSet):
'Pesquisar Autor',
css_class='btn btn-primary btn-sm'), 2),
(Button('limpar',
'limpar Autor',
'Limpar Autor',
css_class='btn btn-primary btn-sm'), 2),
('autoria__primeiro_autor', 2),
('autoria__autor__tipo', 3),

2
sapl/sessao/forms.py

@ -573,7 +573,7 @@ class AdicionarVariasMateriasFilterSet(MateriaLegislativaFilterSet):
'Pesquisar Autor',
css_class='btn btn-primary btn-sm'), 2),
(Button('limpar',
'limpar Autor',
'Limpar Autor',
css_class='btn btn-primary btn-sm'), 10)])
row6 = to_row(
[('autoria__autor__tipo', 6),

Loading…
Cancel
Save