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

23 lines
858 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<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>
<th class="span1"><%= t('users.name') %></th>
</tr>
</thead>
<tbody id="tbody_diplomas" class="sort-holder">
<%= render 'diploma' %>
</tbody>
</table>
<div class="bottomnav clearfix">
<div class="action pull-right">
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:new_), new_admin_diploma_path, :class => 'btn btn-primary' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@diplomas), class: "pagination pagination-centered" %>
</div>
</div>