2011-05-08 08:29:21 +00:00
|
|
|
#sidebar
|
|
|
|
%h1
|
|
|
|
Adopt a Hydrant
|
|
|
|
%p#tagline
|
|
|
|
Claim responsibility for shoveling out a fire hydrant after it snows.
|
|
|
|
= form_for :address, :html => {:id => "address_form"} do |f|
|
2011-05-15 22:07:53 +00:00
|
|
|
= label_tag "city_state", "City", :id => "city_state_label"
|
2011-05-08 08:29:21 +00:00
|
|
|
= select_tag "city_state", '<option value="Boston, MA" selected="selected">Boston, MA</option>'.html_safe, :tabindex => 10
|
|
|
|
= label_tag "address", "Address", :id => "address_label"
|
|
|
|
= text_field_tag "address", params[:address], :tabindex => 11
|
2011-05-22 13:16:12 +00:00
|
|
|
= hidden_field_tag "limit", params[:limit] || 50
|
2011-05-08 08:29:21 +00:00
|
|
|
= submit_tag "Find fire hydrants", :tabindex => 12
|
|
|
|
#logos
|
2011-06-22 01:07:41 +00:00
|
|
|
= image_tag "/images/logos/cfa.png", :alt => "Code for America", :title => "Code for America"
|
|
|
|
= image_tag "/images/logos/boston.png", :alt => "City of Boston", :title => "City of Boston"
|
|
|
|
= image_tag "/images/hydrant-in-snow.jpg", :id => "hydrant-in-snow"
|
2011-05-08 08:29:21 +00:00
|
|
|
#map_canvas
|