Skip to content

Instantly share code, notes, and snippets.

@siassaj
Created September 13, 2012 07:43
Show Gist options
  • Save siassaj/3712649 to your computer and use it in GitHub Desktop.
Save siassaj/3712649 to your computer and use it in GitHub Desktop.
%select.span2.weekSelector
%option{:value => 0} Every Week
- @max_week.downto(1) do |w|
- if w == @today_comweek
%option{:value => w, :selected => "selected"}= "Week #{w} *"
- else
%option{:value => w}= "Week #{w}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment