2012-01-14 22:31:01 +00:00
|
|
|
%h2
|
|
|
|
= t("titles.adopt", :thing => t("defaults.thing").titleize)
|
2012-03-31 13:38:24 +00:00
|
|
|
= form_for :thing, :url => things_path, :method => :put, :html => {:id => "adoption_form"} do |f|
|
2011-05-08 08:29:21 +00:00
|
|
|
= f.hidden_field "id"
|
|
|
|
= f.hidden_field "user_id", :value => current_user.id
|
2012-01-14 22:31:01 +00:00
|
|
|
%fieldset.control-group
|
|
|
|
= f.label "name", t("labels.name_thing", :thing => t("defaults.thing")), :id => "thing_name_label"
|
|
|
|
= f.text_field "name"
|
2012-03-31 13:38:24 +00:00
|
|
|
%fieldset.control-group
|
2012-01-14 22:31:01 +00:00
|
|
|
= f.submit t("buttons.adopt"), :class => "btn primary"
|