Sha256: 142b9ac97be86753cecd82dab64344d06a61164f528dfc9aacebda0f3217c1c9
Contents?: true
Size: 1.33 KB
Versions: 15
Compression:
Stored size: 1.33 KB
Contents
<!-- Breadcrumbs --> <div class="row"> <div class="col-lg-12"> <h2>Directory Categories & 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"> <%= render 'phcnotifi/notifications' %> <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
15 entries across 15 versions & 1 rubygems