<% phc_title "Member Listings Manager" %> <% phc_title_tagline "Listing Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>

<%= yield(:phc_title) %>

<%= link_to new_member_profile_listing_path, class: "btn btn-primary" do %> Create a New Listing for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> <% end %>
<%= yield(:phc_title_tagline) %>
<% @member_listings.each do |member_listing| %> <% end %>
Company Name Conact Name City Country Listing Phone Listing Email Listing Website
<%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %>