<%  @calendar_view_disable=1    %>
<div class="settings_common_container">

	<div class="settings_common_header" align="center">
			<%= link_to t('.new_filter'), new_settings_filter_path, class:"href_new_button", style:"float:left" %>
		<div class="settings_common_header_text"><%= t(:filters_s)%></div>
	</div>
	<div class="settings_common_table_container">
		<table class="table_body">
			<% @filters.each_with_index do |filter,index| %>
			<tr style="background:<%= if index % 2 > 0;$l_gray;else;$white;end %> ">
				<td style="width:30px"><%= index+1 %>.</td>
				<td><%= filter[:name]%></td>
				<td style="width:100px"><%= link_to t(:edit), edit_settings_filter_path(filter), class:"href_edit_button" %></td>
				<td style="width:100px">
						<%= link_to t(:delete), settings_filter_path(filter), method: :delete, class:"href_delete_button", data: { confirm: t(:confirm) } %>
				</td>
			</tr>
			<% end %>
		</table>
	</div>
</div>
<script>
$(document).ready(
	function() { 
		$(".settings_common_table_container").niceScroll(scroll_settings);
	}
);
</script>