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 & 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