Sha256: f981f58b5c37c4dfd7d6da61de56ca63f6be27bc4f785ee6aa165f91fb4dc16c
Contents?: true
Size: 1.63 KB
Versions: 10
Compression:
Stored size: 1.63 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 <%= @directory_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' %> <div class="table-responsive"> <table class="table table-hover table-striped table-bordered"> <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> </div> <%= link_to 'New Listing', new_directory_category_catlist_path, class: "btn btn-primary" %> </div> </div> </div> </div> </div>
Version data entries
10 entries across 10 versions & 1 rubygems