adopt-a-hydrant/app/views/hydrants/_steal.html.erb

7 lines
263 B
Plaintext

<%= form_for @hydrant, :html => {:id => "steal_form"} do |f| %>
<%= f.hidden_field "id" %>
<%= f.hidden_field "user_id", :value => "" %>
<%= f.hidden_field "name", :value => "" %>
<%= f.submit "Steal this hydrant", :id => "steal_form_submit" %>
<% end %>