app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.4.4 vs app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.5.0

- old
+ new

@@ -1,14 +1,14 @@ <!-- Title System --> -<% phc_title "Script" %> +<% phc_title "Script CDN Listing" %> <% phc_title_tagline "Script CDN Index" %> <!-- Bread Crumb --> <div class="page-bar"> <ul class="page-breadcrumb"> - <li><%= link_to "Script Listing", scriptcdn_script_path %><i class="fa fa-circle"></i></li> + <li><%= link_to "Script Listing", scriptcdn_main_path %><i class="fa fa-circle"></i></li> <li class="active"><%= yield(:phc_title_tagline) %></li> </ul> </div> @@ -46,12 +46,12 @@ <td><%= scriptcdn_main.scriptdescription %></td> <td><%= scriptcdn_main.version %></td> <td> <div class="btn-group" role="group" aria-label="Script"> <% if current_user %> - <%= link_to 'Show', scriptcdn_script, class: "btn blue-chambray" %> - <%= link_to 'Edit', edit_scriptcdn_script_path(scriptcdn_script), class: "btn blue-chambray" %> - <%= link_to 'Destroy', scriptcdn_script, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %> + <%= 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 %> </div> </td> </tr> <% end %> \ No newline at end of file