Skip to content

Commit

Permalink
[Scorecards] Limiting the amount of councils to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Feb 3, 2025
1 parent 873b943 commit 18e7545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoring/templates/scoring/council.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h3 class="fs-6 mb-0">Choose {% include "scoring/includes/scoring-group-name.htm
</div>
<div class="card-body">
<form id="advancedFilterForm" action=".">
{% if comparisons|length > 2 %}
{% if comparisons|length > 1 %}
<p class="warning-message">You have reached the maximum number of councils that can be compared.</p>
{% else %}
<input class="form-control searchbar js-location-compare-autocomplete mb-3" name="search" id="compare-search" type="search" placeholder="Council name" aria-label="Council name" data-council_type="{{ council.get_scoring_group.slug }}">
Expand Down

0 comments on commit 18e7545

Please sign in to comment.