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