Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created December 8, 2011 16:35
Show Gist options
  • Save seanhandley/1447526 to your computer and use it in GitHub Desktop.
Save seanhandley/1447526 to your computer and use it in GitHub Desktop.
<%= f.select :status, "<option value='Pending'>Pending</option><option value='Booked'>Booked</option><option value='Closed'>Closed</option>".html_safe, selected: @quote.status %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment