Sha256: 9a4bdb0abbbaa3c600d9cf4dc7681e7782552d8994632dacd5801c94fc1f56bc

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

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

	<!-- PHC-Notifi Render Validation -->
	<%= render 'layouts/phcnotifi/components/validations', :object => @scriptcdn_scripturl %>

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

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdn-0.6.0 app/views/phcscriptcdn/scriptcdn/scripturls/_formpatch.html.erb