noesya/osuny

View on GitHub
app/views/admin/education/teachers/_list.html.erb

Summary

Maintainability
Test Coverage
<div class="row g-3">
  <% teachers.each do |person| %>
    <div class="col-6 col-lg-3 col-xxl-2">
      <div class="<%= osuny_card_classes %>">
        <%= osuny_thumbnail_localized person, large: true %>
        <div class="card-body">
          <p class="mb-1">
            <%= osuny_published_localized person %>
            <%= osuny_link_localized  person,
                                      admin_education_teacher_path(person),
                                      classes: 'stretched-link'  %>
          </p>
        </div>
      </div>
    </div>
  <% end %>
</div>