<% phc_title "Script" %> <% phc_title_tagline "Script CDN Index" %>
<%= yield(:phc_title_tagline) %>
<%= link_to new_scriptcdn_script_path, class: "btn blue-chambray" do %> Add a New Script for CDN <% end %>
<% @scriptcdn_scripts.each do |scriptcdn_script| %> <% end %>
Script Name
<%= scriptcdn_script.scrptname %>
<% if current_user %> <%= link_to 'Show', scriptcdn_script, class: "btn btn-w-m btn-primary btn-xs btn-phc-custom" %> <%= link_to 'Edit', edit_scriptcdn_script_path(scriptcdn_script), class: "btn btn-w-m btn-primary btn-xs btn-phc-custom" %> <%= link_to 'Destroy', scriptcdn_script, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' } %> <% end %>