<% # encoding: utf-8 %>

<% if @title %>
	<h1 class="h1"><%= @title %></h1>
<% end %>

<table class="table table-bordered">
	<tbody>
		<tr>
			<th class="span2"><%= t('news.news_bulletin.image') %></th>
			<th><%= t('news.news_bulletin.title') %></th>
			<th class="span2 pagination-right"><%= t('news.news_bulletin.postdate') %></th>
		</tr>
		<% @news_bulletins.each do |post| %>
		<tr>
			<td><%= image_tag post.image %></td>
			<td>
				<%= link_to post.title[I18n.locale], panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %>
				<%= post.subtitle[I18n.locale].html_safe %>
			</td>
			<td><%= display_date(post.postdate) %></td>
		</tr>
		<% end %> 
	</tbody>
</table>

<%= paginate @news_bulletins, :params => {:inner => 'true'}, :remote => true %>
