Sha256: 79671e3fcc93bcc177d7a9cb6dfeefa673d57705ae3c08386ccb13a88700c3b7

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

<%= form_for([@script_url.listing, @script_url], url: form_url) do |form_phc_scriptcdn_urls| %>

	<!-- PHCNotifi Render Validation -->
	<%= render 'phcnotifi/validations', :object => @script_url %>

	<!-- Form Input Fields -->
	<div class="form-group field_with_error">
		<%= form_phc_scriptcdn_urls.label :script_url, "Script URL" %>
		<%= form_phc_scriptcdn_urls.text_field :script_url, placeholder: "Script URL", class: "form-control"  %>
	</div>
	<div class="form-group field_with_error">
		<%= form_phc_scriptcdn_urls.label :script_url_release, "Initial Release" %>
		<%= form_phc_scriptcdn_urls.date_select :script_url_release, class: "form-control" %>
	</div>
	<div class="form-group field_with_error">
		<%= form_phc_scriptcdn_urls.label :script_url_cdn_update, "Latest Release" %>
		<%= form_phc_scriptcdn_urls.date_select :script_url_cdn_update, class: "form-control" %>
	</div>
	<div class="form-group field_with_errors">
		<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="form-group field_with_errors">
		<label>Script Extensions</label>
		<%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order('script_extension_name'), :id, :script_extension, {}, {class: "form-control"}) %>
	</div>
	<!-- Form Input Fields -->

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

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdn-50.0.0 app/views/phcscriptcdn/script/urls/_form.html.erb