Sha256: b31e3f48dca73f926af5b9ed5db7d0527f1867d04c4d3e634969b1a3db896da8

Contents?: true

Size: 1.69 KB

Versions: 3

Compression:

Stored size: 1.69 KB

Contents

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

<!-- -PHCDEV- 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- Bradcrumbs -->

<!-- -PHCDEV- Header -->
<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) %></h4>
	</div>
	<!-- -PHCDEV- Panel - Heading -->

	<!-- -PHCDEV- Panel - Body -->
	<div class="panel-body">

		<!-- -PHCDEV- Index - List -->
		<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.directory_category_name, directory_category %>
				</li>
			<% end %>
		</ul>
		<!-- -PHCDEV- Index - List -->

		<br>

		<!-- -PHCDEV- New Button -->
		<%= link_to phcdevworks_members.new_directory_category_path, class: "btn btn-primary" do %>
			<i class="fad fa-plus-circle"></i>
			<%= "Add a New Directory Category" %>
		<% end %>
		<!-- -PHCDEV- New Button -->

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_members-12.0.2 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-12.0.1 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-12.0.0 app/views/phcdevworks_members/directory/categories/index.html.erb