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