

<% if @bulletin and !@bulletin.nil? %>

<div id="col1" class="col">
	<h1 class="h1 ini_heading col_title"><%= @bulletin.title %></h1>
	<p class="ini_txt"><%= @bulletin.subtitle %></p>
	<%= link_to "read more >",panel_announcement_front_end_bulletin_path(@bulletin.id) %>
	<a class="btn" href="">read more &gt;</a>
</div>

<% end %>

<% if @bulletins and !@bulletins.nil? %>

<div id="col2" class="col">
<h1 class="h1 ini_heading col_title">news</h1>
<ul class="ini_list">
	<% @bulletins.each do |post| %>
	<li><span class="time"><%= post.postdate.to_s.gsub("-", "") %></span><%= link_to post.title,panel_announcement_front_end_bulletin_path(post) %></li>
	<% end %>
</ul>
<%= link_to "read more >",panel_announcement_front_end_bulletins_path(), :class => "btn" %>
<a class="btn" href="announcement">read more &gt;</a>
</div>

<div id="col2" class="col">
<h1 class="h1 ini_heading col_title">news</h1>
<ul class="ini_list">
	<% @bulletins.each do |post| %>
	<li>
	<%= image_tag(post.image.url, :size => "160x140") if post.image.file %>
	<h4><%= post.title %></h4>
	<%= post.subtitle %>
	</li>
	<% end %>
</ul>
<%= link_to "read more >",panel_announcement_front_end_bulletins_path(), :class => "btn" %>
<a class="btn" href="announcement">read more &gt;</a>
</div>

<% end %>
