Sha256: db4d310c5a20fef0e253b90d6a38af10199b1635d5d64ec27c55ad7bd9dfb5bb

Contents?: true

Size: 1.03 KB

Versions: 9

Compression:

Stored size: 1.03 KB

Contents

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

	<% if @scriptcdn_script.errors.any? %>
		<div id="error_explanation">
			<h2><%= pluralize(@scriptcdn_script.errors.count, "error") %> prohibited this scriptcdn_script from being saved:</h2>
			<ul>
				<% @scriptcdn_script.errors.full_messages.each do |message| %>
					<li><%= message %></li>
				<% end %>
			</ul>
		</div>
	<% end %>

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

9 entries across 9 versions & 1 rubygems

Version Path
phcscriptcdn-1.0.1 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-1.0.0 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.10 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.9 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.8 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.7 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.6 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.2 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb
phcscriptcdn-0.9.1 app/views/phcscriptcdn/scriptcdn/scripts/_form.html.erb