<div class="accordion-inner" data-toggle="buttons-checkbox">
	<% @level_types.each do |category| -%>
		<%= link_to category.title, panel_personal_journal_back_end_writing_journals_path(:filter => @filter, :new_filter => {:type => 'categories', :id => category.id}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('categories', category.id)}" %>
	<% end -%> 
</div>
<%= render :partial => 'clear_filters', :locals => {:type => 'categories'} %>