<% @member_profile.listings.each do |member_profile_listing| %> <% end %>
Company Name Conact Name City Business Phone
<%= member_profile_listing.listing_companyname %> <%= member_profile_listing.listing_contactname %> <%= member_profile_listing.listing_city %> <%= member_profile_listing.listing_phone %>
<%= link_to "See All of " + @member_profile.member_firstname + " " + @member_profile.member_lastname + " Listings", phcmemberspro.member_profile_listings_path(@member_profile), class: "btn btn-primary btn-xs" %> <%= link_to "Add a New Listing for " + @member_profile.member_firstname + " " + @member_profile.member_lastname, phcmemberspro.new_member_profile_listing_path(@member_profile), class: "btn btn-purple btn-xs" %>