<% phc_title "Script CDN Listing" %> <% phc_title_tagline "Script CDN Index" %>
<%= yield(:phc_title_tagline) %>
<%= link_to new_scriptcdn_main_path, class: "btn blue-chambray" do %> Add a New Script for CDN <% end %>
<% @scriptcdn_mains.each do |scriptcdn_main| %> <% end %>
Scriptname Scriptdescription Version
<%= scriptcdn_main.scriptname %> <%= scriptcdn_main.scriptdescription %> <%= scriptcdn_main.version %>
<% if current_user %> <%= link_to 'Show', scriptcdn_main, class: "btn blue-chambray" %> <%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main), class: "btn blue-chambray" %> <%= link_to 'Destroy', scriptcdn_main, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %> <% end %>