Skip to content

Commit

Permalink
feat(vote): layout adjusts on candidature search template
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomario committed Nov 11, 2024
1 parent 554c68b commit 47a1d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/org_eleicoes/votepeloclima/candidature/forms/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% block content %}
<form method="get">
<main class="container mx-auto pb-4">
<section class="pt-5 pb-3" style="max-width:570px;">
<section class="pt-5 pb-3" style="max-width:757px;">
<h2 class="text-uppercase fw-bold search-title-font-size">Conheça candidaturas comprometidas com o clima</h2>
<p>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.</p>
</section>
Expand Down

0 comments on commit 47a1d15

Please sign in to comment.