Sha256: f7ea02a8296bb43c21f8cfc0fe472a14e237ac8c9d2382b71d29451cbe3f1c5c

Contents?: true

Size: 994 Bytes

Versions: 5

Compression:

Stored size: 994 Bytes

Contents

<%= form_for([@directory_catlist.category, @directory_catlist], url: directory_category_catlists_path) do |f| %>

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

	<div class="form-group">
		<label>Select a Listing</label>
		<%= collection_select(:directory_catlist, :listing_id, Phcmembers::Members::Listing.order('mlcompanyname'), :id, :mlcompanyname, {}, {class: "form-control form-control-sm"}) %>
	</div>

	<div class="form-group">
		<label><%= f.label :category_id, "Select a Category" %></label>
		<%= f.text_field :category_id, class: "form-control", placeholder: "Directory Category" %>
	</div>

	<div class="actions">
		<%= f.submit "Submit", class: "btn btn-primary" %>
	</div>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcmembers-0.6.2 app/views/phcmembers/directory/catlists/_form.html.erb
phcmembers-0.6.1 app/views/phcmembers/directory/catlists/_form.html.erb
phcmembers-0.6.0 app/views/phcmembers/directory/catlists/_form.html.erb
phcmembers-0.5.9 app/views/phcmembers/directory/catlists/_form.html.erb
phcmembers-0.5.8 app/views/phcmembers/directory/catlists/_form.html.erb