Sha256: 60b5ebccae3f048aeaae0799535d362b0e526926a6dd121d4754a51792dec8d0

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

<!-- Breadcrumbs -->
<header id="page-header">
	<h1>Directory Category &amp; Connected Listings Index</h1>
	<ol class="breadcrumb">
		<li><%= link_to "Home", directory_root_path %></li>
		<li class="active"><%= link_to "Directory Categories", directory_categories_path %></li>
	</ol>
</header>

<div id="content" class="padding-20">

	<!-- 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 colspan="2"></th>
								</tr>
							</thead>
							<tbody>
								<% @directory_categories.each do |directory_category| %>
									<tr>
										<td><%= directory_category.catname %></td>
										<td>
											<div class="btn-group" role="group" aria-label="Directory Group">
												<%= link_to 'Edit', edit_directory_category_path(directory_category), class: "btn btn-primary" %>
												<%= link_to 'Destroy', directory_category, class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure? Removing a directory category will also remove all listing connections.?' } %>
											</div>
										</td>
										<td>
											<div class="btn-group" role="group" aria-label="Directory Connection Group">
												<%= link_to  'Connect Member Listings', directory_category_catlists_path(directory_category), :class => "btn btn-success" %>
											</div>
										</td>
									</tr>
								<% end %>
							</tbody>
						</table>
					</div>
					<%= link_to 'New Directory Category', new_directory_category_path, class: "btn btn-primary" %>
				</div>
			</div>
		</div>
	</div>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

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