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

22 lines
1.0 KiB
Plaintext

<div id="sidebar">
<h1>Adopt a Hydrant</h1>
<p id="tagline">
Claim responsibility for shoveling out a fire hydrant after it snows.
</p>
<%= form_tag do %>
<%= 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" %>
</div>
<div id="map_canvas">
</div>