summaryrefslogtreecommitdiff
path: root/views/delete.haml
blob: 88457e0da4a0815f29a64fc0fd0e1f91641624b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%hr
%p
  You are going to remove the
  = @model['name']
  model permanently!
%p Enter your username/password if you are sure or cancel the operation.

%form{ :action => "/#{params[:id]}", :method => "post" }
  %input{:type => 'hidden', :name => "_method", :value => "delete"}

  %table
    %tr
      %th Username:
      %td
        %input{:type => "text", :name => "username"}
    %tr
      %th Password:
      %td
        %input{:type => "text", :name => "password"}

    %tr
      %td
        %input{:type => "submit", :value => "Delete"}
      %td
        %a{:href => '/'} Cancel