personal-diploma/app/views/admin/diplomas/index.html.erb

20 lines
679 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<th class="span2"><%= t('users.name') %></th>
<th class="span3"><%= t('personal_diploma.duration') %></th>
<th class="span3"><%= t('personal_diploma.school_name') %></th>
<th class="span2"><%= t('personal_diploma.department') %></th>
<th class="span2"><%= t('personal_diploma.degree') %></th>
</tr>
</thead>
<tbody id="tbody_diplomas" class="sort-holder">
<%= render 'diploma' %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@diplomas), class: "pagination pagination-centered" %>
</div>
</div>