Sha256: 743807598c949585f3a207231d28a16ac89105f075a7bee116cbd81a050dca79

Contents?: true

Size: 1.51 KB

Versions: 4

Compression:

Stored size: 1.51 KB

Contents

<%= form_with(model: [ @script_listing, @script_url], url: form_url, local: true) do |form| %>

	<!-- -PHCDEV- Form Validation -->
	<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
	<!-- -PHCDEV- Form Validation -->

	<!-- -PHCDEV- Form Input Fields -->
	<div class="mb-3">
		<%= form.label :script_url, "Script URL", class: "form-label" %>
		<%= form.text_field :script_url, placeholder: "Script URL", class: "form-control"  %>
	</div>
	<div class="mb-3">
		<%= form.label :script_url_release, "Initial Release", class: "form-label" %>
		<%= form.date_select :script_url_release, class: "form-control" %>
	</div>
	<div class="mb-3">
		<%= form.label :script_url_cdn_update, "Latest Release", class: "form-label" %>
		<%= form.date_select :script_url_cdn_update, class: "form-control" %>
	</div>
	<div class="mb-3">
		<label class="form-label">Script Version</label>
		<%= collection_select(:script_url, :version_id, Phcscriptcdn::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
	</div>
	<div class="mb-3">
		<label class="form-label">Script Extensions</label>
		<%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
	</div>
	<!-- -PHCDEV- Form Input Fields -->

	<!-- -PHCDEV- Form Submition Button -->
	<div class="actions">
		<%= form.submit class: "btn btn-primary" %>
	</div>
	<!-- -PHCDEV- Form Submition Button -->

<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcscriptcdn-55.0.3 app/views/phcscriptcdn/script/urls/_form.html.erb
phcscriptcdn-55.0.2 app/views/phcscriptcdn/script/urls/_form.html.erb
phcscriptcdn-55.0.1 app/views/phcscriptcdn/script/urls/_form.html.erb
phcscriptcdn-55.0.0 app/views/phcscriptcdn/script/urls/_form.html.erb