vendredi 30 octobre 2015

How to write prompt to set default select option

I want to display default select option as "select Size" here. how to give in this select option.

Any help is appreciated.

this is my slim file

= select_tag "standard_size_id", options_from_collection_for_select(@standard_sizes, "id", "name"), include_blank: true, class: 'form-control'

Aucun commentaire:

Enregistrer un commentaire