asia_database/app/views/admin/asia_databases/show.html.erb

21 lines
727 B
Plaintext
Raw Normal View History

2023-05-26 14:17:05 +00:00
<table class="table main-list tablet footable-loaded">
<caption><h3><%= @asia_academy.academy_name %></h3></caption>
<thead>
<tr>
<%= thead_t('asia_database.department') %>
</tr>
</thead>
<tbody id="tbody_asia_academies" class="sort-holder">
<% @asia_departs.each do |depart| %>
<tr>
<td><h4><a href="<%=asia_teachers_admin_asia_database_path(depart)%>"><%= "#{@asia_academy.academy_name}#{depart.department_name.present? ? (' - ' + depart.department_name) : ''}" %></a></h4></td>
</tr>
<% end %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@asia_departs), class: "pagination pagination-centered" %>
</div>
</div>