app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-4.1.9 vs app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-4.2.0
- old
+ new
@@ -9,16 +9,20 @@
<div class="panel-body">
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
+ <th>Category</th>
+ <th>Posts</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @modules_connections.each do |modules_connection| %>
<tr>
+ <td>modules_connection.categories.catname</td>
+ <td>modules_connection.posts.psttitle</td>
<td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
<td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
<td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>