From 47a1d156c18a0210006f87d9b0988db0bd52ce75 Mon Sep 17 00:00:00 2001 From: Mario Sergio Date: Mon, 11 Nov 2024 11:49:01 -0300 Subject: [PATCH] feat(vote): layout adjusts on candidature search template --- app/org_eleicoes/votepeloclima/candidature/forms/filters.py | 4 ++-- .../candidature/templates/candidature/candidature_search.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/org_eleicoes/votepeloclima/candidature/forms/filters.py b/app/org_eleicoes/votepeloclima/candidature/forms/filters.py index a635f2e5..3505bb1c 100644 --- a/app/org_eleicoes/votepeloclima/candidature/forms/filters.py +++ b/app/org_eleicoes/votepeloclima/candidature/forms/filters.py @@ -71,9 +71,9 @@ class FilterFormSidebar(RemoveRequiredMixin, forms.ModelForm): election_status = forms.ChoiceField( label="Filtrar por", choices=[ - ("second_round", "Candidaturas no 2º turno"), + ("elected", "Candidaturas eleitas"), ("all", "Todas as candidaturas"), - ("elected", "Candidaturas eleitas") + ("second_round", "Candidaturas no 2º turno") ], widget=ButtonRadioSelect, initial="elected" # Define o filtro de eleito como padrão diff --git a/app/org_eleicoes/votepeloclima/candidature/templates/candidature/candidature_search.html b/app/org_eleicoes/votepeloclima/candidature/templates/candidature/candidature_search.html index 50004278..632249d8 100644 --- a/app/org_eleicoes/votepeloclima/candidature/templates/candidature/candidature_search.html +++ b/app/org_eleicoes/votepeloclima/candidature/templates/candidature/candidature_search.html @@ -13,7 +13,7 @@ {% block content %}
-
+

Conheça candidaturas comprometidas com o clima

Veja todas as candidaturas cadastradas em 2024 e descubra quais foram eleitas com compromisso com políticas climáticas. Use os filtros para explorar as propostas e os representantes de sua cidade.