Posts by Nícolas Braz • 1 point
1 post
-
0
votes1
answer19
viewsQ: Select receive custom value in Rails
I own a select in my form: <%= form.select :status, options_for_select([ ["Ativo", 0], ["Inativo", 1] ]), {include_blank: "Selecione ..."}, class: "form-control", required: true %> To include…