Sha256: d5e8eab3a576b7e39dbe8f48a47bbe514ea07c189c42c6a254f25c377417e321

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

<!-- Bread Crumbs -->
<header id="page-header">
	<h1>Directory Categories &amp; Listings</h1>
	<ol class="breadcrumb">
		<li><%= link_to "Home", directory_root_path %></li>
		<li class="active"><%= link_to "Directory Categories", directory_categories_path %></li>
	</ol>
</header>

<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				<span class="elipsis">
					<strong>Category Listings for <%= @category.catname %></strong>
				</span>
				<ul class="options pull-right list-inline">
					<%= render 'layouts/components/panel_options' %>
				</ul>
			</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

3 entries across 3 versions & 1 rubygems

Version Path
phcmemberspro-2.1.8 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-2.1.7 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-2.1.6 app/views/phcmemberspro/directory/catlists/index.html.erb