<div id='filter' class="subnav">
	<ul class="nav nav-pills filter">
		<li class="accordion-group">
			<div class="accordion-heading">
				<a href="#collapse-status" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:status) %> <b class="web-symbol"></b></a>
			</div>
		</li>
		<li class="accordion-group">
			<div class="accordion-heading">
				<a href="#collapse-category" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:category) %> <b class="web-symbol"></b></a>
			</div>
		</li>
		<li class="accordion-group">
			<div class="accordion-heading">
				<a href="#collapse-tags" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t(:tags) %> <b class="web-symbol"></b></a>
			</div>
		</li>
	</ul>
	<div class="filters">
		<div class="accordion-body collapse" id="collapse-status">
			<div class="accordion-inner" data-toggle="buttons-checkbox">
				<a href="#" class="btn">Category1</a>
				<a href="#" class="btn">Category2</a>
			</div>
			<div class="filter-clear">
				<a href="#" class="btn"><i class="icons-brush-large"></i>Clear/重置</a>
			</div>
		</div>
		<div class="accordion-body collapse" id="collapse-category">
			<div class="accordion-inner" data-toggle="buttons-checkbox">
				<% @bulletin_categories.each do |category| -%>
					<%= link_to category.i18n_variable[I18n.locale], panel_announcement_back_end_bulletins_path(:filter => add_filter(:categories, category.id)), :class => 'btn' %>
				<% end -%> 
			</div>
			<div class="filter-clear">
				<a href="#" class="btn"><i class="icons-brush-large"></i>Clear/重置</a>
			</div>
		</div>
		<div class="accordion-body collapse" id="collapse-tags">
			<div class="accordion-inner" data-toggle="buttons-checkbox">
				<a href="#" class="btn">Tag1</a>
				<a href="#" class="btn">Tag2</a>
				<a href="#" class="btn">Tag3</a>
				<a href="#" class="btn">Tag4</a>
				<a href="#" class="btn">Tag5</a>
				<a href="#" class="btn">Tag6</a>
				<a href="#" class="btn">Tag7</a>
				<a href="#" class="btn">Tag8</a>
				<a href="#" class="btn">Tag9</a>
				<a href="#" class="btn">Tag10</a>
			</div>
			<div class="filter-clear">
				<a href="#" class="btn"><i class="icons-brush-large"></i>Clear/重置</a>
			</div>
		</div>
		<div class="table-label">
			<table class="table main-list">
				<thead>
					<tr class="sort-header">
						<th class="span1 strong">
							<input type="checkbox">
							<a href class="list-remove"><i class="icon-trash"></i></a>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('status') %>">
							<%= link_to t('bulletin.status') + content_tag(:b, nil, :class => is_sort?('status')), panel_announcement_back_end_bulletins_path(sortable('status')) %>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('category') %>">
							<%= link_to t('bulletin.category') + content_tag(:b, nil, :class => is_sort?('category')), panel_announcement_back_end_bulletins_path(sortable('category')) %>
						</th>
						<th class="sort span7 <%= is_sort_active?('title') %>">
							<%= link_to t('bulletin.title') + content_tag(:b, nil, :class => is_sort?('title')), panel_announcement_back_end_bulletins_path(sortable('title')) %>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('postdate') %>">
							<%= link_to t('bulletin.start_date') + content_tag(:b, nil, :class => is_sort?('postdate')), panel_announcement_back_end_bulletins_path(sortable('postdate')) %>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('deadline') %>">
							<%= link_to t('bulletin.end_date') + content_tag(:b, nil, :class => is_sort?('deadline')), panel_announcement_back_end_bulletins_path(sortable('deadline')) %>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('tags') %>">
							<%= link_to t('bulletin.tags') + content_tag(:b, nil, :class => is_sort?('tags')), panel_announcement_back_end_bulletins_path(sortable('tags')) %>
						</th>
						<th class="sort span1-2 <%= is_sort_active?('update_user_id') %>">
							<%= link_to t('bulletin.last_modified') + content_tag(:b, nil, :class => is_sort?('update_user_id')), panel_announcement_back_end_bulletins_path(sortable('update_user_id')) %>
						</th>
				   </tr>
				</thead>
			</table>
		</div>
	</div>
</div>