Sha256: 06c9557feddddcca190dfe6937572365f571518e154b69633079ca44337b7d7c

Contents?: true

Size: 1.64 KB

Versions: 4

Compression:

Stored size: 1.64 KB

Contents

<!-- -PHCDEV- Title Variables -->
<% phc_title "Directory Category Manager" %>
<% phc_title_tagline "Web Directory Category Index" %>
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- -PHCDEV- Title Variables -->

<!-- -PHCDEV- Page Bradcrumbs -->
<ol class="breadcrumb float-xl-end">
	<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
	<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- -PHCDEV- Page Bradcrumbs -->

<!-- -PHCDEV- Bradcrumbs -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
<!-- -PHCDEV- Header -->

<!-- -PHCDEV- Panel -->
<div class="panel panel-inverse">

	<!-- -PHCDEV- Panel - Heading -->
	<div class="panel-heading">
		<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
	</div>
	<!-- -PHCDEV- Panel - Heading -->

	<!-- -PHCDEV- Panel - Body -->
	<div class="panel-body">
		<!-- Un-Ordered List - Listing Categories -->
		<ul class="list-group">
			<% @directory_categories.each do |directory_category| %>
				<li class="list-group-item">
					<span class="badge badge-default badge-roundless"><%= directory_category.listings.count %></span></span>
					<%= link_to directory_category.category_name, directory_category %>
				</li>
			<% end %>
		</ul>
		<!-- Un-Ordered List - Listing Categories -->
		<br>
		<%= link_to phcmembers.new_directory_category_path, class: "btn btn-primary" do %>
			<i class="fas fa-plus-circle"></i>
			<%= "Add a New Directory Category" %>
		<% end %>
		<!-- Un-Ordered List - Listing Categories -->
	</div>
	<!-- -PHCDEV- Panel - Body -->

</div>
<!-- -PHCDEV- Panel -->

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcmembers-68.0.3 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-68.0.2 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-68.0.1 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-68.0.0 app/views/phcmembers/directory/categories/index.html.erb