personal_project/app/views/admin/projects/index.html.erb

23 lines
813 B
Plaintext

<table class="table main-list tablet footable-loaded">
<thead>
<tr class="sort-header">
<%= thead('personal_project.year') %>
<%= thead('personal_project.project_title') %>
<%= thead('personal_project.project_number') %>
<%= thead('personal_project.member_profile') %>
<%= thead('personal_project.participants') %>
</tr>
</thead>
<tbody id="tbody_writing_journals" class="sort-holder">
<%= render 'projects' %>
</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_project_path, :class => 'btn btn-primary' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@projects), class: "pagination pagination-centered" %>
</div>
</div>