Sha256: 6eb41580cde5263ec2b54883210e81665a74028ddb29344e5416dc8adaf73b2c

Contents?: true

Size: 1.87 KB

Versions: 12

Compression:

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

12 entries across 12 versions & 1 rubygems

Version Path
phcdevworks_members-11.1.1 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.5 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.4 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.3 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.2 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.1 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-11.0.0 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-10.4.0 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-10.3.0 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-10.1.0 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-10.0.0 app/views/phcdevworks_members/directory/categories/index.html.erb
phcdevworks_members-9.0.0 app/views/phcdevworks_members/directory/categories/index.html.erb