Created
February 15, 2009 20:46
-
-
Save jtimberman/64840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/ruby/gems/1.8/gems/chef-server-0.5.4/lib/views/nodes/index.html.haml | |
- throw_content(:header, "Node List") | |
%table | |
- @node_list.each do |node| | |
%tr | |
%td | |
.node | |
%a{ :href => url(:node, { :id => node.gsub(/\./, "_") }) } | |
= node | |
%td | |
- if session[:level] == :admin | |
= delete_button url(:node, { :id => node.gsub(/\./, "_") }), "Delete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment