<%= form_for([@scriptcdn_scripturl.script, @scriptcdn_scripturl], url: scriptcdn_script_scripturls_path) 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 :script_id, "Script Version" %> <%= collection_select(:scriptcdn_scripturl, :script_id, Phcscriptcdnpro::Scriptcdn::Script.order('scrptname'), :id, :scrptname, {}, {class: "form-control"}) %>
<%= f.submit "Submit", class: "btn blue-hoki" %>
<% end %>