<% content_for :side_bar do %>
  <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(@site), :icon => 'icons-users', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>

<div class="subnav">

<%= render :partial => 'admin/plugins/plugin_list' %>

<%= render 'filter' %>

</div>

<table class="table main-list">
	<thead>
		<tr>
			<th class="span2"><%= t('personal_patent.publication_date') %></th>
			<th class="span4"><%= t('personal_patent.patent_title') %></th>
			<th class="span2"><%= t('personal_patent.patent_no') %></th>
			<th class="span2"><%= t('personal_patent.patent_country') %></th>
			<th class="span2"><%= t('personal_patent.authors') %></th>
			<th class="span1"><%= t("personal_plugins.author") %></th>
		</tr>
	</thead>
	<tbody id="tbody_writing_patents" class="sort-holder">
		<%= render :partial => 'writing_patent', :collection => @writing_patents %>
	</tbody>
</table>

<div class="form-actions form-fixed pagination-right">
	<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), panel_personal_patent_back_end_writing_patent_setting_path, :class => 'btn btn-primary pull-right' %>
	<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t('announcement.add_new'), new_panel_personal_patent_back_end_writing_patent_path, :class => 'btn btn-primary pull-right' %>
	<div id="lab_pagination" class="paginationFixed">
	<%= paginate @writing_patents, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil} %>
	</div>
</div>
