diff options
author | Bryan McLellan <bryanm@widemile.com> | 2008-10-13 16:44:09 -0700 |
---|---|---|
committer | Bryan McLellan <bryanm@widemile.com> | 2008-10-13 16:44:09 -0700 |
commit | 49d2c20c81ce942955fbbf0ab3ff22373051f284 (patch) | |
tree | 6ba27f017158497f95d4d7600b9156de68531498 /chef-server/lib/views/nodes/index.html.haml | |
parent | de1bc77f177f20b5d9a95cac546d1dadfd116bcb (diff) | |
parent | 0c99f89fcb2a74de5d8638f7f503e5aa8f52b72e (diff) | |
download | chef-49d2c20c81ce942955fbbf0ab3ff22373051f284.tar.gz |
Merge branch 'master' of git@github.com:hjkp/chef into hjk
Diffstat (limited to 'chef-server/lib/views/nodes/index.html.haml')
-rw-r--r-- | chef-server/lib/views/nodes/index.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chef-server/lib/views/nodes/index.html.haml b/chef-server/lib/views/nodes/index.html.haml new file mode 100644 index 0000000000..667e1c7317 --- /dev/null +++ b/chef-server/lib/views/nodes/index.html.haml @@ -0,0 +1,9 @@ +%h1 Node List +- @node_list.each do |node| + .node + %a{ :href => url(:node, { :id => node.gsub(/\./, "_") }) } + = node + %form{ :method => "post", :action => url(:node, { :id => node.gsub(/\./, "_") })} + %input{ :type => "hidden", :name => "_method", :value => "delete" } + %input{ :type => "submit", :name => "Delete", :value => "Delete" } +
\ No newline at end of file |