<%= form_for :bulletins, :url => delete_panel_announcement_back_end_bulletins_path(:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil, :sort_options => params[:sort_options]), :html => {:id => 'delete_all'}, :remote => true do %>
	<%= render 'filter' %>
	<table id="bulettin_sort_list" class="table main-list">
		<%= render 'bulletins' %>
	</table>
<% end %>

<div class="form-actions form-fixed pagination-right">
	<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t('admin.add'), new_panel_announcement_back_end_bulletin_path, :class => 'btn btn-primary pull-right' %>
	<div id="bulletin_pagination" class="paginationFixed">
		<%= paginate @bulletins, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil, :sort_options => params[:sort_options]} %>
	</div>
</div>

<div id="bulletin_link_qe">
	<div id="modal-link" class="modal fade">
		<%= render :partial => "bulletin_link_qe" %>
	</div>
</div>

<div id="news_bulletin_file_qe">
	<div id="modal-file" class="modal fade">
		<%= render :partial => "bulletin_file_qe" %>
	</div>
</div>

<% content_for :page_specific_javascript do %>
	<%= javascript_include_tag "bulletin_form" %>
	<%= javascript_include_tag "/static/jquery.cycle.all.latest.js" %>
	<%= javascript_include_tag "inc/modal-preview" %>
<% end %>

