Sha256: d6de626fc1fb69cca7c128ee955e01b8463715c7e9f2dcfe3b482f50909e4639

Contents?: true

Size: 1.72 KB

Versions: 38

Compression:

Stored size: 1.72 KB

Contents

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

<div class="page-bar">

	<!-- Bread Crumb -->
	<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>

</div>

<!-- Page Title -->
<h3 class="page-title">
	<%= yield(:phc_title) %> </br>
	<small><%= yield(:phc_title_tagline) %></small>
</h3>

<!-- Main Content -->
<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>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
phcmemberspro-4.10.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.10.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.9 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.8 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.7 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.9.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-4.8.9 app/views/phcmemberspro/directory/catlists/index.html.erb