orbit-personalpatent/app/views/panel/personal_patent/back_end/writing_patent_categorys/index.html.erb

30 lines
690 B
Plaintext

<%= flash_messages %>
<%= @types %>
<table id="writing_book_categorys" class="table main-list">
<thead>
<tr>
<th class="span1-2"><%= t('writing_book_category.key') %></th>
<% if @types.is_localized?(:title) %>
<% @site_in_use_locales.each do |locale| %>
<th class="span1-2"><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></th>
<% end %>
<% else %>
<th class="span1-2"><%= t('writing_book_category.title') %></th>
<% end %>
</tr>
</thead>
<tbody>
<%= render :partial => 'writing_book_category', :collection => @writing_book_categorys %>
</tbody>
</table>
<div id="form"><%= render :partial => "form" if is_manager? %></div>