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

25 lines
877 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_project.project_name') %>
<%= thead_t('asia_database.asia_project.date') %>
<%= thead_t('asia_database.asia_project.sponsor') %>
</tr>
</thead>
<tbody id="tbody_asia_academies" class="sort-holder">
<% @asia_projects.each do |project| %>
<tr>
<td><%= project.project_name %></td>
<td><%= project.date %></td>
<td><%= project.sponsor %></td>
</tr>
<% end %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@asia_projects), class: "pagination pagination-centered" %>
</div>
</div>