<%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Directory Listings Index
    <%= render 'layouts/components/panel_options' %>
<%= render 'layouts/phcnotifi/components/notifications' %>
<% @members_listings.each do |members_listing| %> <% end %>
Contact Name Company Name City Country Phone Number Email
<%= members_listing.mlcontactname %> <%= members_listing.mlcompanyname %> <%= members_listing.mlcity %> <%= members_listing.mlcountry %> <%= members_listing.mlphone %> <%= members_listing.mlemail %>
<%= link_to 'Details', members_main_listing_path(members_listing.main, members_listing), class: "btn btn-primary" %> <%= link_to 'Edit', edit_members_main_listing_path(members_listing.main, members_listing), class: "btn btn-primary" %> <%= link_to 'Delete', members_main_listing_path(members_listing.main, members_listing), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure? This will also remove this listing from the online directories.' } %>
<%= link_to 'New Member Listing', new_members_main_listing_path, class: "btn btn-primary" %>