Sha256: 8dc104ff552ab5cdfbdcb72c75567cbd7b579b8367e5f7241da0c11227f08d45

Contents?: true

Size: 1.73 KB

Versions: 15

Compression:

Stored size: 1.73 KB

Contents

<!-- Breadcrumbs -->
<div class="row">
	<div class="col-lg-12">
		<h2>Directory Categories &amp; Listings</h2>
		<ol class="breadcrumb">
			<li><%= link_to "Home", directory_root_path %></li>
			<li class="active"><%= link_to "Directory Categories & Listings", directory_categories_path %></li>
		</ol>
	</div>
</div>

<!-- Main Contents -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				Directory Categories &amp; Listings
			</div>
			<div class="panel-body">
				<%= render 'phcnotifi/notifications' %>
				<table class="table table-bordered table-striped table-hover">
					<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>
				<%= link_to 'New Directory Category', new_directory_category_path, class: "btn btn-primary" %>
			</div>
		</div>
	</div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
phcmembers-2.2.0 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-2.1.3 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-2.1.2 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-2.1.1 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-2.1.0 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-2.0.0 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.9.9 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.9.5 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.9.0 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.8.1 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.8.0 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.7.8 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.7.6 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.7.5 app/views/phcmembers/directory/categories/index.html.erb
phcmembers-1.7.0 app/views/phcmembers/directory/categories/index.html.erb