<% content_for :page_specific_css do %>
	<%= stylesheet_link_tag "inc/permission-checkbox"  %>
<% end %>
<% content_for :page_specific_javascript do %>
<<<<<<< HEAD
	<%= javascript_include_tag "bootstrap"  %>
	<%#= javascript_include_tag "inc/permission-checkbox"  %>
	<%#= javascript_include_tag "inc/search"  %>
=======
	<%= javascript_include_tag "inc/permission-checkbox"  %>
	<%= javascript_include_tag "inc/search"  %>
>>>>>>> 291d5e3a03ba7da62ceb5e3b18012f0c9198dfba
<% end %>
<%#= label_tag :fact_check_setting, t("news.news_bulletin.fact_check_setting") %>
<%= form_tag('', :remote => true)  %>
<div class="subnav">
    <ul class="nav nav-pills filter">
        <li class="accordion-group">
            <div class="form-search" style="margin: 5px 10px;">
                <%= label_tag :category, t("news.news_bulletin.category") %>
                <%= select_tag "category_id", options_from_collection_for_select(@news_bulletin_categorys, "id", "key") %>
								<%= search_field_tag 'user_filter' %>
            </div>
        </li>
    </ul>
</div>
<%#= label_tag :role, t("admin.roles") %>
<div class="clear">
<%= content_tag :div do -%>
	<% form_tag :action => "update_setting"  do %>
		<%= render :partial => "privilege_user", :locals => {:users => @users_array} %>
	<div class="form-actions pagination-centered">
	<%= submit_tag "Update", :class => 'btn' %>
	</div>
	<% end -%>
<% end -%>
</div>

<script type="text/javascript" charset="utf-8">
var availableTags = [];
$(function() {

	$('#category_id').change(function() {
	  $(this).parents('form').submit();
	});
</script>