Sha256: 7d0dd8491ecc04958032c2f1773f627bd033ae6880c02a7f5f98e920ff3b99cd
Contents?: true
Size: 1.56 KB
Versions: 6
Compression:
Stored size: 1.56 KB
Contents
<!-- Bread Crumbs --> <header id="page-header"> <h1>Directory Categories & Listings</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 Content --> <div class="row"> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <span class="elipsis"> <strong>Category Listings for <%= @category.catname %></strong> </span> <ul class="options pull-right list-inline"> <%= render 'layouts/components/panel_options' %> </ul> </div> <div class="panel-body"> <%= render 'layouts/phcnotifi/components/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> </div>
Version data entries
6 entries across 6 versions & 1 rubygems