11 lines
457 B
Plaintext
11 lines
457 B
Plaintext
= form_for :hydrant, :url => hydrants_path, :method => :put, :html => {:id => "adoption_form"} do |f|
|
|
%h2
|
|
= t("titles.adopt")
|
|
= f.hidden_field "id"
|
|
= f.hidden_field "user_id", :value => current_user.id
|
|
= f.label "name", t("labels.name_hydrant"), :id => "hydrant_name_label"
|
|
= f.text_field "name", :tabindex => 1
|
|
= f.submit t("buttons.adopt"), :tabindex => 2
|
|
= render :partial => 'users/edit_profile'
|
|
= render :partial => 'sessions/sign_out'
|