Skip to content

Instantly share code, notes, and snippets.

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