<% phc_title "Member Listings Manager" %> <% phc_title_tagline "Listing Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.modules_dashboards_index_path %> <% phc_breadcrumb_two yield(:phc_title_tagline) %>

<%= 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) %> <%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove address information and cannot be reversed.' } %>