How can I set a default value: M ?
How can I order optios?
<%= select( “user”, “sex”, { t(“male”) => “M”, t(“female”) => “F” },
{:include_blank => true} ) %>
How can I set a default value: M ?
How can I order optios?
<%= select( “user”, “sex”, { t(“male”) => “M”, t(“female”) => “F” },
{:include_blank => true} ) %>
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs