Sha256: aed4ea014c5454c529ee3c97acce69aa4fda5e8ad56eab5f9c5e45dcd0eaab11

Contents?: true

Size: 1.35 KB

Versions: 8

Compression:

Stored size: 1.35 KB

Contents

<!-- Breadcrumbs -->
<div class="row">
	<div class="col-lg-12">
		<h2>Directory Categories &amp; Listings</h2>
		<ol class="breadcrumb">
			<li><%= link_to "Home", directory_root_path %></li>
			<li class="active"><%= link_to "Directory Categories", directory_categories_path %></li>
		</ol>
	</div>
</div>


<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				Category Listings for <%= @category.catname %> 
			</div>
			<div class="panel-body">
				<%= render 'layouts/phcnotifi/components/notifications' %>
				<table class="table table-bordered table-striped table-hover">
					<tbody>
						<% @directory_catlists.each do |directory_catlists| %>
							<tr>
								<td><%= directory_catlists.category.catname %></td>
								<td><%= directory_catlists.listing.mlcompanyname %></td>
								<td><%= link_to 'Destroy', directory_category_catlist_path(directory_catlists.category, directory_catlists), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure? This will only remove the listing from the directory category. The listing will still be saved with the members profile.' } %></td>
							</tr>
						<% end %>
					</tbody>
				</table>
				<%= link_to 'New Listing', new_directory_category_catlist_path, class: "btn btn-primary" %>
			</div>
		</div>
	</div>
</div>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
phcmembers-1.6.0 app/views/phcmembers/directory/catlists/index.html.erb
phcmembers-1.5.0 app/views/phcmembers/directory/catlists/index.html.erb
phcmembers-1.0.2 app/views/phcmembers/directory/catlists/index.html.erb
phcmemberspro-2.1.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-2.1.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-2.1.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmembers-1.0.1 app/views/phcmembers/directory/catlists/index.html.erb
phcmembers-1.0.0 app/views/phcmembers/directory/catlists/index.html.erb