2011-03-18 02:33:20 +00:00
|
|
|
<%= form_for @hydrant, :html => {:id => "adoption_form"} do |f| %>
|
2011-03-17 18:46:06 +00:00
|
|
|
<h2>Adopt this Hydrant</h2>
|
2011-03-22 08:45:44 +00:00
|
|
|
<%= f.hidden_field "id" %>
|
|
|
|
<%= f.hidden_field "user_id", :value => current_user.id %>
|
|
|
|
<%= f.label "name", "Give your hydrant a name", :id => "hydrant_name_label" %>
|
|
|
|
<%= f.text_field "name", :tabindex => 1 %>
|
|
|
|
<%= f.submit "Adopt!", :tabindex => 2, :id => "adoption_form_submit" %>
|
|
|
|
<p>By adopting this hydrant, you agree to the <%= link_to "Terms of Service", "#", :tabindex => 3 %>.</p>
|
2011-03-07 08:56:32 +00:00
|
|
|
<% end %>
|
2011-03-27 19:44:15 +00:00
|
|
|
<%= render(:partial => 'users/edit_profile') %>
|
2011-03-27 19:17:20 +00:00
|
|
|
<%= render(:partial => 'users/sign_out') %>
|