%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
<%= render 'phcnotifi/validations', :object => @script_url %>
<%= f.label :scripturl, "Script URL" %>
<%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
<%= f.label :scripturlrelease, "Initial Release" %>
<%= f.date_select :scripturlrelease, class: "form-control" %>
<%= f.label :scripturlcdnupdate, "Latest Release" %>
<%= f.date_select :scripturlcdnupdate, class: "form-control" %>
<%= collection_select(:script_url, :version_id, Phcscriptcdnpro::Script::Version.order('scriptversion'), :id, :scriptversion, {}, {class: "form-control"}) %>
<%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
<%= f.submit class: "btn btn-primary" %>
<% end %>