app/views/phcmembers/directory/catlists/index.html.erb in phcmembers-0.9.8 vs app/views/phcmembers/directory/catlists/index.html.erb in phcmembers-1.0.0
- old
+ new
@@ -16,15 +16,16 @@
<div class="panel panel-primary">
<div class="panel-heading">
Category Listings for <%= @category.catname %>
</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><%= 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>