app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb in phcscriptcdnpro-1.6.6 vs app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb in phcscriptcdnpro-1.6.7

- old
+ new

@@ -22,11 +22,11 @@ <div class="caption"> <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> </div> <div class="actions"> <%= link_to new_scriptcdn_main_url_path, class: "btn blue-chambray" do %> - <i class="fa fa-plus"></i> Add a New Script + <i class="fa fa-plus"></i> Add a New Script Url <% end %> </div> </div> <div class="portlet-body"> @@ -39,10 +39,11 @@ </tr> </thead> <tbody> <% @scriptcdn_urls.each do |scriptcdn_url| %> <tr> - <td><%= scriptcdn_url.scripturl %></td> + <td><%= link_to scriptcdn_url.scripturl, edit_scriptcdn_main_url_path %></td> + <td><%= link_to 'Destroy', scriptcdn_main_url, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td> </tr> <% end %> </tbody> </table> </div>