app/views/phcscriptcdnpro/scriptcdn/urls/_formpatch.html.erb in phcscriptcdnpro-1.5.7 vs app/views/phcscriptcdnpro/scriptcdn/urls/_formpatch.html.erb in phcscriptcdnpro-1.5.8
- old
+ new
@@ -1,7 +1,6 @@
-<%= form_for([@scriptcdn_url.script, @scriptcdn_url], url: scriptcdn_script_url_path, method: :patch) do |f| %>
+<%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_url_path, method: :patch) do |f| %>
- # Validation Notifier
<%= render 'phcnotifi/validations', :object => @scriptcdn_script %>
<div class="form-group field_with_error">
<%= f.label :scripturl, "Script URL" %>
<%= f.text_field :scripturl, placeholder: "Script Name", class: "form-control" %>