adopt-a-hydrant/app/views/main/index.html.haml

36 lines
1.5 KiB
Plaintext
Raw Normal View History

2011-12-25 07:23:19 +00:00
.table
.table-row
.table-cell.sidebar
%h1
= image_tag "logos/adopt-a-hydrant.png", :alt => t("titles.main", :thing => t("defaults.thing").titleize), :title => t("titles.main", :thing => t("defaults.thing").titleize)
%p.alert-message.block-message#tagline
2011-12-25 07:23:19 +00:00
= t("defaults.tagline")
#content
= render :partial => "layouts/flash", :locals => {:flash => flash}
2011-12-25 07:23:19 +00:00
- if signed_in?
= render :partial => "sidebar/search"
- else
= render :partial => "sidebar/combo_form"
#logos
2012-01-20 03:59:02 +00:00
#col1
%a{:href => "http://codeforamerica.org/"}
= image_tag "logos/cfa.png", :alt => t("sponsors.cfa"), :title => t("sponsors.cfa")
%br
%a{:href => "http://bostonbuilt.org/"}
= image_tag "logos/bostonbuilt.png", :alt => t("sponsors.built"), :title => t("sponsors.built")
#col2
%a{:href => "http://www.cityofboston.gov/"}
= image_tag "logos/boston.png", :alt => t("sponsors.city"), :title => t("sponsors.city")
2012-01-20 20:30:08 +00:00
%p#mayor
%a{:href => "http://www.cityofboston.gov/mayor/"}
= "#{t("sponsors.mayor.name")},"
%em
= t("sponsors.mayor.title")
2011-12-25 07:23:19 +00:00
#feedback
%p
2012-10-15 15:24:55 +00:00
%a{:href => URI.escape("mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} - #{t("links.feedback").titleize}")}
= t("links.feedback")
2011-12-25 16:27:45 +00:00
.table-cell.map-container
#map