2011-05-08 08:29:21 +00:00
|
|
|
#sidebar
|
|
|
|
%h1
|
2011-09-15 21:02:16 +00:00
|
|
|
= t("titles.main", :thing => t("defaults.thing").titleize)
|
2011-05-08 08:29:21 +00:00
|
|
|
%p#tagline
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("defaults.tagline")
|
2011-05-08 08:29:21 +00:00
|
|
|
= form_for :address, :html => {:id => "address_form"} do |f|
|
2011-09-14 23:50:39 +00:00
|
|
|
= 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, :tabindex => 10
|
|
|
|
= label_tag "address", t("labels.address"), :id => "address_label"
|
2011-05-08 08:29:21 +00:00
|
|
|
= text_field_tag "address", params[:address], :tabindex => 11
|
2011-09-16 04:18:06 +00:00
|
|
|
= hidden_field_tag "limit", params[:limit] || 40
|
2011-09-15 21:02:16 +00:00
|
|
|
= submit_tag t("buttons.find", :thing => t("defaults.thing").pluralize), :tabindex => 12
|
2011-05-08 08:29:21 +00:00
|
|
|
#logos
|
2011-09-14 23:50:39 +00:00
|
|
|
= 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-15 21:02:16 +00:00
|
|
|
%a{:href => "mailto:adoptahydrant@cityofboston.gov?subject=#{t("titles.main", :thing => t("defaults.thing").titleize)} #{t("links.feedback")}"}
|
2011-09-14 23:50:39 +00:00
|
|
|
= t("links.feedback")
|
2011-06-24 03:16:13 +00:00
|
|
|
= image_tag "hydrant-in-snow.jpg", :id => "hydrant-in-snow"
|
2011-05-08 08:29:21 +00:00
|
|
|
#map_canvas
|