osunyorg/admin

View on GitHub
app/views/extranet/alumni/organizations/index.html.erb

Summary

Maintainability
Test Coverage
<% content_for :title, University::Organization.model_name.human(count: 2) %>
<% content_for :header_right do %>
<p>
  <%= @count %>
  <%= University::Organization.model_name.human(count: @count).downcase %>
</p>
<% end %>

<div class="row">
  <div class="col-md-3">
    <%= render 'faceted_search/facets', facets: @facets %>
  </div>
  <div class="offset-lg-1 col-lg-8">
    <div class="organizations">
      <%= render "extranet/alumni/organizations/list", organizations: @organizations %>
    </div>
    <%= paginate @organizations, theme: 'bootstrap-5' %>
  </div>
</div>