%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_url_path, method: :patch) do |f| %>
<%= render 'phcnotifi/validations', :object => @scriptcdn_script %>
<%= f.label :scripturl, "Script URL" %>
<%= f.text_field :scripturl, placeholder: "Script Name", class: "form-control" %>
<%= f.label :scripturlext, "Script Extention" %>
<%= f.select( :scripturlext, [['.css','css'],['.js','js'],['.html','html'],['.scss','scss']], {}, {class: "form-control form-control"}) %>
<%= f.submit class: "btn blue-hoki" %>
<% end %>