personal-research/app/views/admin/researchs/index.html.erb

22 lines
805 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<th class="span1"><%= t('personal_research.year') %></th>
<th class="span1"><%= t('personal_research.publication_date') %></th>
<th class="span5"><%= t('personal_research.research_title') %></th>
<th class="span3"><%= t('users.name') %></th>
</tr>
</thead>
<tbody id="tbody_researchs" class="sort-holder">
<%= render 'research' %>
</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_research_path, :class => 'btn btn-primary' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@researchs), class: "pagination pagination-centered" %>
</div>
</div>