Sha256: c6ffa919c0c0f6c33b36cb7548a5bba4d792801771e47c2a3867216ed16e9690

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

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

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

	<!-- Form Input Fields -->
	<div class="form-group field_with_errors">
		<%= form.label :script_cdn_url, "Script URL" %>
		<%= form.text_field :script_cdn_url, placeholder: "Script URL", class: "form-control" %>
	</div>

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

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

	<div class="form-group field_with_errorss">
		<label>Script Version</label>
		<%= collection_select(:script_url, :version_id, PhcdevworksScripts::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
	</div>

	<div class="form-group field_with_errorss">
		<label>Script Extensions</label>
		<%= collection_select(:script_url, :extension_id, PhcdevworksScripts::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
	</div>
	<!-- Form Input Fields -->
	
	<!-- Form Submition Button -->
	<div class="actions">
		<%= form.submit class: "btn btn-primary" %>
	</div>
	<!-- For Submition Button -->

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcdevworks_scripts-2.3.1 app/views/phcdevworks_scripts/script/urls/_form.html.erb
phcdevworks_scripts-2.3.0 app/views/phcdevworks_scripts/script/urls/_form.html.erb