Sha256: 3476e640a4a17ca576c7f54475894ab23d1013201841192a953babc1739301c5

Contents?: true

Size: 1.98 KB

Versions: 37

Compression:

Stored size: 1.98 KB

Contents

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

<div class="page-bar">

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

</div>

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

<!-- Main Contents -->
<div class="row">
	<div class="col-md-12">

		<div class="portlet box blue-chambray bordered">
			<div class="portlet-title">
				<div class="caption">
					<span class="caption-subject bold uppercase">Directory Categories &amp; Connected Listings Index</span>
				</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  'Connect Member Listings', directory_category_catlists_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>
				<%= link_to 'New Directory Category', new_directory_category_path, class: "btn blue-hoki" %>
			</div>
		</div>

	</div>
</div>

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
phcmemberspro-5.1.5 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.1.4 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.1.3 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.1.2 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.1.1 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.1.0 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.6 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.5 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.4 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.3 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.2 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.1 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-5.0.0 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.11.2 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.11.1 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.11.0 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.10.10 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.10.9 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.10.8 app/views/phcmemberspro/directory/categories/index.html.erb
phcmemberspro-4.10.7 app/views/phcmemberspro/directory/categories/index.html.erb