Sha256: d24b186e64083fa81b0a350440f24108def70ce799dfc349df209f631079dfb3

Contents?: true

Size: 1.81 KB

Versions: 35

Compression:

Stored size: 1.81 KB

Contents

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

<!-- Bread Crumb -->
<div class="page-bar">

	<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 light">

			<div class="portlet-title">
				<div class="caption">
					<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
				</div>
				<div class="actions">
					<%= link_to new_directory_category_catlist_path, class: "btn blue-chambray btn-circle" do %>
						<i class="fa fa-plus"></i> New Listing for <%= + @directory_category.catname %> Category
					<% end %>
				</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.business.mbcompanyname %></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>
			</div>
		</div>
	</div>
</div>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
phcmemberspro-5.4.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.10 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.9 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.8 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.7 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.3.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.2.7 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.2.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.2.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.2.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-5.2.3 app/views/phcmemberspro/directory/catlists/index.html.erb