%= form_for([@scriptcdn_scripturl.scriptversion, @scriptcdn_scripturl], url: scriptcdn_scriptversion_scripturl_path, method: :patch) do |f| %>
<%= render 'phcnotifi/validations', :object => @scriptcdn_scripturl %>
<%= f.label :scrpturlphc, "Script URL" %>
<%= f.text_field :scrpturlphc, class: "form-control", placeholder: "Script URL (AWS)" %>
<%= f.label :scrpturltype, "Script Type" %>
<%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], {}, {class: "form-control"} %>
<%= f.label :scriptversion_id, "Script Version" %>
<%= collection_select(:scriptcdn_scripturl, :scriptversion_id, Phcscriptcdnpro::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control"}) %>
<%= f.submit "Submit", class: "btn blue-hoki" %>
<% end %>