Sha256: 9f852aed1b50202d581cef66518aa2bd7c3dee0a3fd3ac965d621e792646869d

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 KB

Contents

<!-- Title System -->
<% phc_title "Directory Categories" %>
<% phc_title_tagline "Web Directory Categories" %>

<div class="page-bar">

	<!-- Bread Crumb -->
	<ul class="page-breadcrumb">
		<li><%= link_to "Home", phcmembrspro.directory_root_path %><i class="fa fa-circle"></i></li>
		<li class="active"><%= link_to "Directory Categories", phcmembrspro.directory_categories_path %></li>
	</ul>

</div>

<!-- Page Title -->
<h3 class="page-title">
	<%= yield(:phc_title) %> </br>
	<small><%= yield(:phc_title_tagline) %></small>
</h3>

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

		<div class="portlet light">

			<div class="portlet-title">
				<div class="caption">
					<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
				</div>
				<div class="actions">
					<%= link_to new_directory_category_path, class: "btn blue-chambray btn-circle" do %>
						<i class="fa fa-plus"></i> Create a New Directory Category
					<% end %>
				</div>
			</div>

			<div class="portlet-body">
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover table-header-fixed">
						<thead>
							<tr>
								<th>Category Name</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<% @directory_categories.each do |directory_category| %>
								<tr>
									<td><%= directory_category.catname %></td>
									<td>
										<div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Directory Group">
											<%= link_to 'Edit', edit_directory_category_path(directory_category), class: "btn blue-hoki" %>
											<%= link_to 'Destroy', directory_category, class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? Removing a directory category will also remove all listing connections.?' } %>
										</div>
									</td>
								</tr>
							<% end %>
						</tbody>
					</table>
				</div>
			</div>
		</div>

	</div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-6.8.1 app/views/phcmemberspro/directory/categories/index.html.erb