Sha256: e71fc4c921680a6c273f1cd57658714071a315d1a222431b65f77f74892d9cca

Contents?: true

Size: 1.94 KB

Versions: 1

Compression:

Stored size: 1.94 KB

Contents

<!-- PHCTitleSEO 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) %>
<!-- PHCTitleSEO Title Variables -->

<!-- Page Bradcrumbs -->
<ol class="breadcrumb pull-right">
	<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
	<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Page Bradcrumbs -->

<!-- Page Header -->
<h2 class="page-header"><%= yield(:phc_title) %></h2>
<!-- Page Header -->

<!-- Page Content -->
<div class="row">
	<div class="col-lg-12">

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

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

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

				<!-- 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>
		        <!-- Index - List -->

        		<br>

				<!-- 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 %>
				<!-- New Button -->

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

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

	</div>
</div>
<!-- Page Content -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcdevworks_members-11.2.0 app/views/phcdevworks_members/directory/categories/index.html.erb