Sha256: 3e76648df029bb06b9d75ee84d0fb053f981767dee9c3f055c75aed2d360f49d

Contents?: true

Size: 1.65 KB

Versions: 3

Compression:

Stored size: 1.65 KB

Contents

<!-- -PHCDEV- Form - Script - URLs -->
<%= 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_cdn_url, "Script URL", class: "form-label" %>
		<%= form.text_field :script_cdn_url, placeholder: "Script URL", class: "form-control" %>
	</div>

	<div class="mb-3">
		<%= form.label :script_cdn_url_release, "Initial Release", class: "form-label" %>
		<%= form.date_select :script_cdn_url_release, class: "form-control" %>
	</div>

	<div class="mb-3">
		<%= form.label :script_cdn_url_cdn_update, "Latest Release", class: "form-label" %>
		<%= form.date_select :script_cdn_url_cdn_update, class: "form-control" %>
	</div>

	<div class="mb-3">
		<label class="form-label">Script Version</label>
		<%= collection_select(:url, :version_id, PhcdevworksScripts::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(:url, :extension_id, PhcdevworksScripts::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- For Submition Button -->

<% end %>
<!-- -PHCDEV- Form - Script - URLs -->

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_scripts-9.0.2 app/views/phcdevworks_scripts/script/urls/_form.html.erb
phcdevworks_scripts-9.0.1 app/views/phcdevworks_scripts/script/urls/_form.html.erb
phcdevworks_scripts-9.0.0 app/views/phcdevworks_scripts/script/urls/_form.html.erb