Skip to content

Commit

Permalink
update teams search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
khulegu committed Sep 3, 2024
1 parent 72fb868 commit 0732724
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions templates/teams/teams.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ <h6 class="text-muted text-center pb-3">
{% endif %}

{% with form = Forms.teams.PublicTeamSearchForm(field=field, q=q) %}
<form method="GET" class="row justify-content-around align-items-center">
<div class="mb-3 col-md-2">
{{ form.field(class="form-select w-100") }}
<form method="GET" class="row justify-content-center align-items-stretch mb-3">
<div class="col-md-2">
{{ form.field(class="form-select w-100 h-100") }}
</div>

<div class="mb-3 col-md-8">
<div class="col-md-8">
{{ form.q(class="form-control w-100", placeholder="Search for matching teams") }}
</div>

<div class="mb-3 col-md-2">
<button type="submit" class="btn btn-primary w-100">
<div class="col-md-2">
<button type="submit" class="btn btn-primary w-100 h-100">
<i class="fas fa-search" aria-hidden="true"></i>
</button>
</div>
Expand Down

0 comments on commit 0732724

Please sign in to comment.