Skip to content

Commit

Permalink
Fix teams page (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprabhakaran3 authored Feb 24, 2024
1 parent aa9976f commit 7f23f27
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions corpus/templates/skyward_expedition/admin/teams_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ <h1 class="text-4xl font-bold text-center">Teams Dashboard</h1>
</thead>
<tbody>
{% for team in teams %}
<td>{{ team.team_name }}</td>
<td>{{ team.team_leader.user }}</td>
<td>
<a href="{% url 'skyward_expedition_team_details' team_id=team.id %}"
class="btn btn-outline btn-secondary">View Details</a>
</td>
<tr>
<td>{{ team.team_name }}</td>
<td>{{ team.team_leader.user }}</td>
<td>
<a href="{% url 'skyward_expedition_team_details' team_id=team.id %}"
class="btn btn-outline btn-secondary">View Details</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down

0 comments on commit 7f23f27

Please sign in to comment.