2011-09-16 05:00:04 +00:00
|
|
|
= form_for :thing, :url => things_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-16 05:00:04 +00:00
|
|
|
= f.label "name", t("labels.name_thing", :thing => t("defaults.thing")), :id => "thing_name_label"
|
2011-10-10 22:52:58 +00:00
|
|
|
= f.text_field "name"
|
|
|
|
= f.submit t("buttons.adopt")
|
2011-05-08 08:29:21 +00:00
|
|
|
= render :partial => 'users/edit_profile'
|
|
|
|
= render :partial => 'sessions/sign_out'
|