adopt-a-hydrant/app/views/welcome/index.html.erb

22 lines
1.0 KiB
Plaintext
Raw Normal View History

2011-02-23 22:24:08 +00:00
<div id="sidebar">
<h1>Adopt a Hydrant</h1>
2011-02-25 19:59:25 +00:00
<p id="tagline">
2011-02-25 19:41:54 +00:00
Claim responsibility for shoveling out a fire hydrant after it snows.
2011-02-23 22:24:08 +00:00
</p>
2011-02-25 21:49:45 +00:00
<%= form_tag do %>
2011-02-25 21:34:01 +00:00
<%= label_tag "address" %>
<%= text_field_tag "address", params[:address], :tabindex => 1 %>
<%= label_tag "city" %>
<%= select_tag "city", '<option value="Boston" selected="selected">Boston</option>'.html_safe, :tabindex => 2 %>
<%= label_tag "state" %>
<%= select_tag "state", '<option value="MA" selected="selected">Massachusetts</option>'.html_safe, :tabindex => 3 %>
<%= submit_tag "Find Fire Hydrants", :tabindex => 4 %>
<% end %>
<%= image_tag "logos/boston.png", :alt => "City of Boston", :title => "City of Boston" %>
<%= image_tag "logos/cert.png", :alt => "Community Emergency Response Team", :title => "Community Emergency Response Team" %>
<%= image_tag "logos/cfa.png", :alt => "Code for America", :title => "Code for America" %>
<%= image_tag "hydrant-in-snow.jpg" %>
2011-02-25 19:59:25 +00:00
</div>
<div id="map_canvas">
2011-02-14 18:49:00 +00:00
</div>