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

22 lines
759 B
Plaintext
Raw Normal View History

2014-07-03 11:25:50 +00:00
<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>
2015-01-09 07:45:32 +00:00
<th class="span1"><%= t('users.name') %></th>
2014-07-03 11:25:50 +00:00
</tr>
</thead>
<tbody id="tbody_labs" class="sort-holder">
2014-07-18 07:04:34 +00:00
<%= render 'lab' %>
2014-07-03 11:25:50 +00:00
</tbody>
</table>
<div class="bottomnav clearfix">
2015-01-20 06:45:52 +00:00
<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>
2014-07-03 11:25:50 +00:00
<div class="pagination pagination-centered">
2014-07-18 07:04:34 +00:00
<%= content_tag :div, paginate(@labs), class: "pagination pagination-centered" %>
2014-07-03 11:25:50 +00:00
</div>
</div>