%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_urls_path) do |f| %>
<%= render 'phcnotifi/validations', :object => @scriptcdn_url %>
<%= 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 %>