Sha256: f981f58b5c37c4dfd7d6da61de56ca63f6be27bc4f785ee6aa165f91fb4dc16c

Contents?: true

Size: 1.63 KB

Versions: 10

Compression:

Stored size: 1.63 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>

<div id="content" class="padding-20">
	<!-- 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 <%= @directory_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' %>
					<div class="table-responsive">
						<table class="table table-hover table-striped table-bordered">
							<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>
					</div>
					<%= link_to 'New Listing', new_directory_category_catlist_path, class: "btn btn-primary" %>
				</div>
			</div>
		</div>
	</div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcmemberspro-3.1.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.9 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.8 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.4 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-3.0.0 app/views/phcmemberspro/directory/catlists/index.html.erb