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

21 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
#sidebar
%h1
2011-10-10 14:41:12 +00:00
= 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)
2011-05-08 08:29:21 +00:00
%p#tagline
= t("defaults.tagline")
2011-05-08 08:29:21 +00:00
= form_for :address, :html => {:id => "address_form"} do |f|
= label_tag "city_state", t("labels.city_state"), :id => "city_state_label"
= select_tag "city_state", "<option value=\"#{t("defaults.city")}\" selected=\"selected\">#{t("defaults.city")}</option>".html_safe
= label_tag "address", t("labels.address"), :id => "address_label"
= text_field_tag "address", params[:address]
2011-09-16 04:18:06 +00:00
= hidden_field_tag "limit", params[:limit] || 40
= submit_tag t("buttons.find", :thing => t("defaults.thing").pluralize)
2011-05-08 08:29:21 +00:00
#logos
= image_tag "logos/cfa.png", :alt => t("sponsors.cfa"), :title => t("sponsors.cfa")
= image_tag "logos/boston.png", :alt => t("sponsors.city"), :title => t("sponsors.city")
2011-08-29 23:31:22 +00:00
#feedback
2011-09-16 05:00:04 +00:00
%a{:href => "mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} #{t("links.feedback").titleize}"}
= t("links.feedback")
= image_tag "hydrant-in-snow.jpg", :id => "hydrant-in-snow"
2011-05-08 08:29:21 +00:00
#map_canvas