<% # encoding: utf-8 %>

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

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

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