<%= form_for :anything, :html=>{:id=>"frmdashboard", :method=>"get", :multipart => true} do |f| %>

State

<%= select_tag "state", options_for_select(@states.map { |obj| [obj['name'], obj['id']] },@state), :class=>"form-control get_data_change select2", :include_blank=>"Select State" %>

District

<%= select_tag "district", options_for_select(@districts,@district), :class=>"form-control get_data_change select2" %>

Block

<%= select_tag "block", options_for_select(@blocks,@block), :class=>"form-control get_data_change select2" %>

Cluster

<%= select_tag "cluster", options_for_select(@clusters,@cluster), :class=>"form-control get_data_change select2" %>

School

<%= select_tag "school", options_for_select(@schools,@school), :class=>"form-control select2" %>

Class

<%= select_tag "class", options_for_select(@classes,@class), :class=>"form-control select2"%>

Subject

<%= select_tag "subject[]", options_for_select(@subjects,@subject), :class=>"form-control select2",:multiple=>"multiple" %>
<% end %>