I have a form_tag in Rails as below:
<%= form_tag(listings_path, method: :get) do %>
What
<%= text_field_tag :title, "",class: 'form-control' %>
Category
<%= select_tag(:category_id, options_from_collection_for_select(Category.all, :id, :name), { :prompt => 'All Categories' }) %>
Area
<%= select_tag(:area, options_for_select(['All', 'Ireland', 'UK']), class: "form-control") %>
<%= submit_tag 'Search', name: nil, class: "btn btn-primary" %>
<% end %>
Where should I add the CSS option >> class: "form-control" << for the Area field to have it working? I tried few options I found on SO but no luck