app/views/badges/index.html.erb
<% head_info :title, t('navbars.top.badges') %>
<h2><%= t 'navbars.top.badges' %></h2>
<p><%= t '.how_to_get' %></p>
<p><%= t '.about_badges' %></p>
<ul class="nav nav-tabs" id="badges" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="achievement-tab" data-bs-toggle="tab" data-bs-target="#achievement-tab-pane" type="button" role="tab" aria-controls="achievement-tab-pane" aria-selected="true">
<%= t '.achievements' %>
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="funrun-tab" data-bs-toggle="tab" data-bs-target="#funrun-tab-pane" type="button" role="tab" aria-controls="funrun-tab-pane" aria-selected="false">
<%= t '.thematic' %>
</button>
</li>
</ul>
<div class="tab-content mt-1">
<div class="tab-pane fade show active" id="achievement-tab-pane" role="tabpanel" aria-labelledby="achievement-tab" tabindex="0">
<div class="row row-cols-1 row-cols-lg-2 g-4"><%= render @not_funrun_badges %></div>
</div>
<div class="tab-pane fade" id="funrun-tab-pane" role="tabpanel" aria-labelledby="funrun-tab" tabindex="0">
<div class="row row-cols-1 row-cols-lg-2 g-4"><%= render @funrun_badges %></div>
</div>
</div>