11 lines
488 B
Plaintext
11 lines
488 B
Plaintext
= form_for :thing, :url => things_path, :method => :put, :html => {:id => "adoption_form"} do |f|
|
|
%h2
|
|
= t("titles.adopt", :thing => t("defaults.thing").titleize)
|
|
= f.hidden_field "id"
|
|
= f.hidden_field "user_id", :value => current_user.id
|
|
= f.label "name", t("labels.name_thing", :thing => t("defaults.thing")), :id => "thing_name_label"
|
|
= f.text_field "name"
|
|
= f.submit t("buttons.adopt")
|
|
= render :partial => 'users/edit_profile'
|
|
= render :partial => 'sessions/sign_out'
|