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

23 lines
858 B
Plaintext
Raw Normal View History

2014-07-02 03:54:14 +00:00
<table class="table main-list">
<thead>
<tr>
2014-08-01 04:22:47 +00:00
<th class="span3"><%= t('personal_diploma.duration') %></th>
2014-07-02 03:54:14 +00:00
<th class="span3"><%= t('personal_diploma.school_name') %></th>
2014-08-01 04:22:47 +00:00
<th class="span2"><%= t('personal_diploma.department') %></th>
<th class="span2"><%= t('personal_diploma.degree') %></th>
2015-01-09 07:42:05 +00:00
<th class="span1"><%= t('users.name') %></th>
2014-07-02 03:54:14 +00:00
</tr>
</thead>
<tbody id="tbody_diplomas" class="sort-holder">
2014-07-18 06:32:13 +00:00
<%= render 'diploma' %>
2014-07-02 03:54:14 +00:00
</tbody>
</table>
2014-07-18 06:32:13 +00:00
<div class="bottomnav clearfix">
2015-01-20 06:44:04 +00:00
<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>
2014-07-02 03:54:14 +00:00
<div class="pagination pagination-centered">
2014-07-18 06:32:13 +00:00
<%= content_tag :div, paginate(@diplomas), class: "pagination pagination-centered" %>
2014-07-02 03:54:14 +00:00
</div>
2014-07-18 06:32:13 +00:00
</div>