Sha256: b9751d4627e55f79ed7fc11a23a608dea8e1acb148262ea585061a2fb7a1cafb

Contents?: true

Size: 1.29 KB

Versions: 26

Compression:

Stored size: 1.29 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", directory_categories_path %></li>
		</ol>
	</div>
</div>


<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				Category Listings for <%= @category.catname %> 
			</div>
			<div class="panel-body">
				<table class="table table-bordered table-striped table-hover">
					<tbody>
						<% @directory_catlists.each do |directory_catlists| %>
							<tr>
								<td><%= directory_catlists.category.catname %></td>
								<td><%# directory_catlists.listing.mlcompanyname %></td>
								<td><%= link_to 'Destroy', directory_category_catlist_path(directory_catlists.category, directory_catlists), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure? This will only remove the listing from the directory category. The listing will still be saved with the members profile.' } %></td>
							</tr>
						<% end %>
					</tbody>
				</table>
				<%= link_to 'New Listing', new_directory_category_catlist_path, class: "btn btn-primary" %>
			</div>
		</div>
	</div>
</div>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
phcmemberspro-2.1.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmembers-0.9.8 app/views/phcmembers/directory/catlists/index.html.erb
phcmemberspro-1.8.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.7.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.6.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.6.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.6.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.6.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.5.8 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.5.7 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.5.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.5.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.6 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.5 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.3 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.2 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.1 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmemberspro-1.0.0 app/views/phcmemberspro/directory/catlists/index.html.erb
phcmembers-0.9.7 app/views/phcmembers/directory/catlists/index.html.erb
phcmembers-0.9.6 app/views/phcmembers/directory/catlists/index.html.erb