%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_url_path, method: :patch) do |f| %> <%= render 'phcnotifi/validations', :object => @scriptcdn_script %>