<%= form_for([@scriptcdn_scripturl.script, @scriptcdn_scripturl], url: scriptcdn_script_scripturl_path, method: :patch) do |f| %> <% if @scriptcdn_scripturl.errors.any? %>

<%= pluralize(@scriptcdn_scripturl.errors.count, "error") %> prohibited this scriptcdn_scripturl from being saved:

<% end %>
<%= f.text_field :scrpturlname, class: "form-control" %>
<%= f.text_field :scrpturlphc, class: "form-control" %>
<%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], class: "form-control" %>
<%= collection_select(:scriptcdn_scripturl, :scriptversion_id, Phcscriptcdn::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control form-control-sm"}) %>
<%= f.submit "Submit", class: "btn btn-primary btn-sm"%>
<% end %>