adopt-a-hydrant/app/views/things/_abandon.html.haml

7 lines
346 B
Plaintext

= form_for :thing, :url => things_path, :method => :put, :html => {:id => "abandon_form", :class => "form-stacked"} do |f|
= f.hidden_field "id"
= f.hidden_field "user_id", :value => ""
= f.hidden_field "name", :value => ""
%fieldset.form-actions
= f.submit t("buttons.abandon", :thing => t("defaults.thing")), :class => "btn danger"