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

25 lines
877 B
Plaintext

<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_paper.paper_name') %>
<%= thead_t('asia_database.asia_paper.issue_year') %>
<%= thead_t('asia_database.asia_paper.journal_name') %>
</tr>
</thead>
<tbody id="tbody_asia_academies" class="sort-holder">
<% @asia_papers.each do |paper| %>
<tr>
<td><%= paper.paper_name %></td>
<td><%= paper.issue_year %></td>
<td><%= paper.journal_name %></td>
</tr>
<% end %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@asia_papers), class: "pagination pagination-centered" %>
</div>
</div>