select_tag

= select_tag 'country', options_for_select([["option1","option1_value"],["option2","option2_value"]]),  class: 'form-control', data: { form_field: true }, prompt: 'Please select the country'

Reference

results matching ""

    No results matching ""