Sha256: fd1d727beb7ebc8b8301b2099bd6dbefbd514b6f33b0d827b247cebeaefe1eea

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

<!-- Title System -->
<% phc_title "PHCMembers - Directory Listings" %>
<% phc_title_tagline "Index of Listings Connected to " + @directory_category.catname %>

<!-- Bread Crumbs -->
<ul class="page-breadcrumb">
	<li><%= link_to "Home", directory_root_path %><i class="fa fa-circle"></i></li>
	<li class="active"><%= link_to "Directory Categories", directory_categories_path %></li>
</ul>

<!-- Action Button -->
<div class="page-toolbar">
	<div class="btn-group pull-right">
		<button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown"> Listing Connection Actions
			<i class="fa fa-angle-down"></i>
		</button>
		<ul class="dropdown-menu pull-right" role="menu">
		</ul>
	</div>
</div>

<!-- Main Content -->
<div id="content" class="padding-20">

	<div class="row">
		<div class="col-lg-12">
			<div class="portlet box blue-chambray bordered">
				<div class="portlet-title">
					<div class="caption">
						<span class="caption-subject bold uppercase">Active Listing Index for <%= @directory_category.catname %></span>
					</div>
				</div>
				<div class="portlet-body">
					<div class="table-responsive">
						<table class="table table-striped table-bordered table-hover table-header-fixed">
							<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 red-mint", 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>
					</div>
					<%= link_to 'New Listing', new_directory_category_catlist_path, class: "btn blue-hoki" %>
				</div>
			</div>
		</div>
	</div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmemberspro-4.8.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.8.5 app/views/phcmemberspro/directory/catlists/index.html.erb