noesya/osuny

View on GitHub
app/views/extranet/contacts/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 %>

<%= render "extranet/contacts/organizations/list", organizations: @organizations %>
<%= paginate @organizations, theme: 'bootstrap-5' %>