<% phc_title "PHCPress Plugin: Connections" %> <% phc_title_tagline "Connections Index" %>

<%= yield(:phc_title) %>

<%= link_to phcpresspro.new_modules_connection_path, class: "btn blue-primary" do %> Create a New Connection <% end %>
<%= yield(:phc_title_tagline) %>
<% @modules_connections.each do |modules_connection| %> <% end %>
Item Article
<%= link_to modules_connection.category.catname, modules_connection %> <%= link_to modules_connection.post.psttitle, modules_connection %> <%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>