Sha256: b5adba0c940be569e2ab20169abfe8c65104978a4022718dc097170108e58a2a
Contents?: true
Size: 817 Bytes
Versions: 5
Compression:
Stored size: 817 Bytes
Contents
<%- state_options = options_for_select(options_for_available_states, params[:state_id]) city_options = options_for_select(options_for_available_cities(params[:state_id]), params[:city_id]) -%> <section> <header> <h1><%= t('.title') %></h1> <%= form_tag(root_path, method: :get) do %> <label for="state_id"><%= t('.state') %></label> <%= select_tag :state_id, state_options, include_blank: true, data: { 'filter-select' => '{"target": "#city_id", "filterParam":"state_id", "filter": "city", "data": { "open_jobs": "1"} }' } %> <label for="city_id"><%= t('.city') %></label> <%= select_tag :city_id, city_options, prompt: t('.select_state') %> <button class="expand secondary"> <%= icon('page-search') %> <%= t('.submit') %> </button> <% end %> </header> </section>
Version data entries
5 entries across 5 versions & 1 rubygems