personal-lab/app/views/admin/labs/index.html.erb

22 lines
759 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t('personal_lab.year') %></th>
<th class="span3"><%= t('module_name.personal_lab') %></th>
<th class="span1"><%= t('personal_lab.location') %></th>
<th class="span1"><%= t('users.name') %></th>
</tr>
</thead>
<tbody id="tbody_labs" class="sort-holder">
<%= render 'lab' %>
</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_lab_path, :class => 'btn btn-primary' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@labs), class: "pagination pagination-centered" %>
</div>
</div>