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

25 lines
927 B
Plaintext
Raw Permalink 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 %><%= " - #{@asia_depart.department_name}" if @asia_depart.department_name.present? %> - <%=@asia_teacher.teacher %></h3></caption>
<thead>
<tr>
<%= thead_t('asia_database.asia_exhibition.exhibition_name') %>
<%= thead_t('asia_database.asia_exhibition.exhibition_date') %>
<%= thead_t('asia_database.asia_exhibition.host') %>
</tr>
</thead>
<tbody id="tbody_asia_academies" class="sort-holder">
<% @asia_exhibitions.each do |exhibition| %>
<tr>
<td><%= exhibition.exhibition_name %></td>
<td><%= exhibition.exhibition_date %></td>
<td><%= exhibition.host %></td>
</tr>
<% end %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@asia_exhibitions), class: "pagination pagination-centered" %>
</div>
</div>