Skip to content

Commit

Permalink
Make parties list partial template usable in other blueprints
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed Apr 22, 2024
1 parent 8c71eb4 commit bdc308a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<tbody>
{%- for party in parties %}
<tr>
<td><a href="{{ url_for('.view', slug=party.slug) }}">{{ party.title }}</a></td>
<td><a href="{{ url_for('party.view', slug=party.slug) }}">{{ party.title }}</a></td>
<td class="centered">
{%- if party.location %}
{%- with country = countries.get(alpha_2=party.location.country_code) %}
Expand Down

0 comments on commit bdc308a

Please sign in to comment.