personal-honor/app/views/admin/honors/index.html.erb

23 lines
951 B
Plaintext

<table class="table main-list">
<thead>
<tr>
<th class="span3"><%= t('personal_honor.year') %></th>
<th class="span3"><%= t('personal_honor.award_name') %></th>
<th class="span3"><%= t('personal_honor.awarding_unit') %></th>
<th class="span3"><%= t('personal_honor.award_winner') %></th>
</tr>
</thead>
<tbody id="tbody_experiences" class="sort-holder">
<%= render 'honor' %>
</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_honor_path, :class => 'btn btn-primary' %>
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_honor_setting_path, :class => 'btn btn-primary pull-right' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@honors), class: "pagination pagination-centered" %>
</div>
</div>