Sha256: 253be4a11c84d4201b33fd9fbf719637ab2b5b8cd2c702fe1a8d6c36da464f3a

Contents?: true

Size: 1011 Bytes

Versions: 2

Compression:

Stored size: 1011 Bytes

Contents

<%= form_for([@scriptcdn_scripturl.script, @scriptcdn_scripturl], url: scriptcdn_scriptversion_scripturls_path) do |f| %>

	<%= render 'phcnotifi/validations', :object => @scriptcdn_scripturl %>

	<div class="field">
		<%= f.label :scrpturlname, "Script Name" %>
		<%= f.text_field :scrpturlname, class: "form-control" %>
	</div>
	<div class="field">
		<%= f.label :scrpturlphc, "Script URL (AWS)" %>
		<%= f.text_field :scrpturlphc, class: "form-control" %>
	</div>
	<div class="field">
		<%= f.label :scrpturltype, "Script Type" %>
		<%= f.select :scrpturltype, [['CSS','css'],['JS','js'],['font','Font']], class: "form-control" %>
	</div>
	<div class="form-group">
		<%= f.label :scriptversion_id, "Script Version" %>
		<%= collection_select(:scriptcdn_scripturl, :scriptversion_id, Phcscriptcdn::Scriptcdn::Scriptversion.order('scrptversion'), :id, :scrptversion, {}, {class: "form-control"}) %>
	</div>
	
	<div class="actions">
		<%= f.submit "Submit", class: "btn btn-primary btn-sm"%>
	</div>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcscriptcdn-0.9.5 app/views/phcscriptcdn/scriptcdn/scripturls/_form.html.erb
phcscriptcdn-0.9.3 app/views/phcscriptcdn/scriptcdn/scripturls/_form.html.erb