Skip to content

Instantly share code, notes, and snippets.

@keithnorm
Created September 9, 2009 15:56
Show Gist options
  • Save keithnorm/183837 to your computer and use it in GitHub Desktop.
Save keithnorm/183837 to your computer and use it in GitHub Desktop.
-content_for :title do
Oops! That page doesn't exist.
.doc
-bookend_with(:img=>'w702', :top_class=>'admin') do
.page_header{:style=>"clear: left; background: #fff;"}
%h2= yield :title
.page_content.content
%p='To get to where you (probably) wanted to go, select your city from the list below, or ' + link_to("contact us", groupon_contact_us_url) + ' to let us know if you think you got here because of an error.'
.clearfix
- divisions = Division.all
- division_groups = divisions.in_groups_of((divisions.size/2).ceil)
- division_groups.each do |group|
%ul.float33
-group.each do |division|
%li=link_to(division.name, root_path(:division => division.permalink))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment