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

21 lines
963 B
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-03-18 02:33:20 +00:00
<%= form_for :address, :html => {:id => "address_form"} do |f| %>
2011-03-05 01:43:25 +00:00
<%= label_tag "city_state", "City", :id => "city_label" %>
2011-03-04 23:42:54 +00:00
<%= select_tag "city_state", '<option value="Boston, MA" selected="selected">Boston, MA</option>'.html_safe, :tabindex => 10 %>
2011-03-05 01:43:25 +00:00
<%= label_tag "address", "Address", :id => "address_label" %>
2011-03-04 23:42:54 +00:00
<%= text_field_tag "address", params[:address], :tabindex => 11 %>
2011-03-18 02:33:20 +00:00
<%= submit_tag "Find Fire Hydrants", :id => "address_submit", :tabindex => 12 %>
2011-02-25 21:34:01 +00:00
<% end %>
2011-03-01 04:13:31 +00:00
<div id="logos">
<%= image_tag "logos/cfa.png", :alt => "Code for America", :title => "Code for America" %>
2011-03-17 19:39:27 +00:00
<%= image_tag "logos/boston.png", :alt => "City of Boston", :title => "City of Boston" %>
2011-03-01 04:13:31 +00:00
</div>
<%= image_tag "hydrant-in-snow.jpg", :id => "hydrant-in-snow" %>
2011-02-25 19:59:25 +00:00
</div>
<div id="map_canvas">
2011-02-14 18:49:00 +00:00
</div>