Skip to content

Instantly share code, notes, and snippets.

@cmhobbs
Created February 4, 2016 21:40
Show Gist options
  • Save cmhobbs/a9e3a982c299da185932 to your computer and use it in GitHub Desktop.
Save cmhobbs/a9e3a982c299da185932 to your computer and use it in GitHub Desktop.
<%= select_tag 'best_practice[organization_id]', options_for_select(all_groups_sorted.collect { |organization| [organization.title, organization.id] }), include_blank: true, :class => "required" %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment