summaryrefslogtreecommitdiff
path: root/chef-server-webui/app/views/cookbook_templates/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server-webui/app/views/cookbook_templates/index.html.haml')
-rw-r--r--chef-server-webui/app/views/cookbook_templates/index.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chef-server-webui/app/views/cookbook_templates/index.html.haml b/chef-server-webui/app/views/cookbook_templates/index.html.haml
new file mode 100644
index 0000000000..0e52aa9212
--- /dev/null
+++ b/chef-server-webui/app/views/cookbook_templates/index.html.haml
@@ -0,0 +1,7 @@
+- @templates.each do |template, data|
+ .index
+ %table
+ %tr
+ %td
+ %a{ :href => slice_url(:cookbook_template, { :cookbook_id => params[:cookbook_id], :id => data[:link_name], :version => data[:version] }) }
+ = "#{data[:version]} - #{data[:name]}"