Skip to content

Instantly share code, notes, and snippets.

@brobertsaz
Created September 15, 2012 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brobertsaz/3729943 to your computer and use it in GitHub Desktop.
Save brobertsaz/3729943 to your computer and use it in GitHub Desktop.
table for dropdowns
%table
%tr
%td
= f.label :share_type, 'Share Type', class: 'required'
%td
= f.select :share_type, @share_types, {}, class: 'share-type', id: 'selected_share_type'
%tr
%td
= f.label :share_expiration_date, 'Expiration Date', class: 'required'
%td#share_exp_dates
= f.select :share_expiration_date, @share_across_dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment