personal_patent/app/views/admin/patents/index.html.erb

24 lines
964 B
Plaintext

<table class="table main-list tablet footable-loaded">
<thead>
<tr class="sort-header">
<%= thead('personal_patent.year') %>
<%= thead('personal_patent.patent_title') %>
<%= thead('personal_patent.patent_type.title') %>
<%= thead('personal_patent.publication_date') %>
<%= thead('personal_patent.member_profile') %>
</tr>
</thead>
<tbody id="tbody_writing_journals" class="sort-holder">
<%= render 'patents' %>
</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_patent_path, :class => 'btn btn-primary' %>
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_patent_setting_path, :class => 'btn btn-primary pull-right' %>
</div>
<div class="pagination pagination-centered">
<%= content_tag :div, paginate(@patents), class: "pagination pagination-centered" %>
</div>
</div>