<%= form_for([@scriptcdn_scripturl.scriptversion, @scriptcdn_scripturl], url: scriptcdn_scriptversion_scripturl_path, method: :patch) do |f| %> <%= render 'phcnotifi/validations', :object => @scriptcdn_scripturl %>
<%= 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 %>