Sha256: 221985b6cba15e02e6a1c306adc633a3ccc0880f0647e34e9aeb142f5f9bb74f

Contents?: true

Size: 883 Bytes

Versions: 1

Compression:

Stored size: 883 Bytes

Contents

<%= form_for(@scriptcdn_script) do |f| %>

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

	<div class="form-group">
		<label><%= f.label :scrptname, "Script Name" %></label>
		<%= f.text_field :scrptname, class: "form-control" %>
	</div>
	<div class="form-group">
		<label><%= f.label :scrptdescription, "Script Description" %></label>
		<%= f.text_area :scrptdescription, class: "form-control" %>
	</div>
	<div class="form-group">
		<label><%= f.label :scriptversion_id, "Script Version" %></label>
		<%= collection_select(:scriptcdn_script, :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/scripts/_form.html.erb