2011-05-31 11:12:02 +00:00
|
|
|
= form_for :hydrant, :url => hydrants_path, :method => :put, :html => {:id => "adoption_form"} do |f|
|
2011-05-08 08:29:21 +00:00
|
|
|
%h2
|
2011-09-15 21:02:16 +00:00
|
|
|
= t("titles.adopt", :thing => t("defaults.thing").titleize)
|
2011-05-08 08:29:21 +00:00
|
|
|
= f.hidden_field "id"
|
|
|
|
= f.hidden_field "user_id", :value => current_user.id
|
2011-09-15 21:02:16 +00:00
|
|
|
= f.label "name", t("labels.name_thing", :thing => t("defaults.thing")), :id => "hydrant_name_label"
|
2011-05-08 08:29:21 +00:00
|
|
|
= f.text_field "name", :tabindex => 1
|
2011-09-14 23:50:39 +00:00
|
|
|
= f.submit t("buttons.adopt"), :tabindex => 2
|
2011-05-08 08:29:21 +00:00
|
|
|
= render :partial => 'users/edit_profile'
|
|
|
|
= render :partial => 'sessions/sign_out'
|