jeudi 15 janvier 2015

Add checkbox with select tag

I am looking to add checkboxes to my current select_tag options.


= select_tag :ethnicity, options_for_select(['Asian', 'Black', 'Biracial', 'Indian', 'Hispanic/Latin', 'Middle Eastern', 'Native American', 'Pacific Islander', 'White', 'Other']), prompt: 'Ethnicity'


enter image description here





Aucun commentaire:

Enregistrer un commentaire