Created
July 23, 2009 15:35
-
-
Save tmking/153088 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h1 The Brands We Offer! | |
%table{ :cellpadding => 0, :cellspacing => 0, :style => 'display: inline;' } | |
%tr | |
%td{ :align => 'center' } | |
- if @brand == 'yamaha' then | |
= image_tag "/images/brands/artists1.gif", :class => 'yamaha' | |
%td{ :align => 'center' } | |
= image_tag "/images/brands/logos/#{@brand}.png"> | |
%br/ | |
%h2= @taglines[@brand] | |
%td{ :align => 'center' } | |
- if @brand == 'yamaha' then | |
= image_tag "/images/brands/artists2.gif", :class => 'yamaha' | |
%table{ :cellspacing => 5, :cellpadding => 0, :class => 'brandmenu' } | |
%tr | |
- @instrument_types.each do |t| | |
%td{ :valign => 'top' } | |
%a{ :href => "#{create_link(t)}", :class => 'brandmenuHeader' } | |
= t.capitalize | |
%a{ :href => "#{create_link(t)}", :class => 'brandmenuBody' } | |
= image_tag "/images/brands/#{@brand}_#{t.singularize}.png" | |
%p/ | |
%a{ :href => '/brands', :class => 'button', :style => 'width: 200px;' } | |
Return to Brands page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment