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

21 lines
1004 B
Plaintext
Raw Normal View History

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
2011-08-09 19:19:06 +00:00
= label_tag "address", "Address, Neighborhood", :id => "address_label"
2011-05-08 08:29:21 +00:00
= text_field_tag "address", params[:address], :tabindex => 11
= hidden_field_tag "limit", params[:limit] || 20
2011-05-08 08:29:21 +00:00
= submit_tag "Find fire hydrants", :tabindex => 12
#logos
= image_tag "logos/cfa.png", :alt => "Code for America", :title => "Code for America"
= image_tag "logos/boston.png", :alt => "City of Boston", :title => "City of Boston"
2011-08-29 23:31:22 +00:00
#feedback
%a{:href => "mailto:adoptahydrant@cityofboston.gov?subject=Adopt-a-Hydrant Feedback"}
Feedback
= image_tag "hydrant-in-snow.jpg", :id => "hydrant-in-snow"
2011-05-08 08:29:21 +00:00
#map_canvas