<% content_for :secondary do %>
<br />
<br />
<br />
<br />
<br />
  <ul class="list">
	  <li><%= link_to t('bulletin_category.new_announcement_class'), new_panel_announcement_back_end_bulletin_category_path, :class => 'seclink1' %></li>
  </ul>
<% end -%>

<%= flash_messages %>

<h1><%= t('bulletin_category.list_announcement_class') %></h1>
<br />
<br />
<br />
<br />
<br />
<table>
  <tr>
    <th><%= t('bulletin_category.key') %></th>
	<% @site_valid_locales.each do |locale| %>
	<th><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></th>
	<% end %>
    <th><%= t('bulletin.action') %></th>
  </tr>

<% @bulletin_categorys.each do |post| %>
  <tr>
    <td><%= post.key %></td>
	<% @site_valid_locales.each do |locale| %>
    <td><%= post.i18n_variable[locale] rescue nil %></td>
	<% end %>
    <td>
	<%= link_to t('bulletin_category.edit'), edit_panel_announcement_back_end_bulletin_category_path(post) %> | 
	<%= link_to t('bulletin_category.delete'), panel_announcement_back_end_bulletin_category_path(post), :confirm => t('announcement.sure?'), :method => :delete %>
	</td>
  </tr>
<% end %>
</table>

<br />

