<% phc_title "Member Listings Manager" %> <% phc_title_tagline "Listings for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %> <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %> <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %> <% phc_breadcrumb_three yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<%= yield(:phc_title_tagline) %>

<% @member_listings.each do |member_listing| %> <% end %>
Company Name Conact Name City Country Listing Email Listing Website
<%= link_to member_listing.listing_company_name, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.listing_contact_name, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.listing_city, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.listing_province, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.listing_contact_email, member_profile_listing_path(member_listing.profile, member_listing) %> <%= link_to member_listing.listing_website, member_profile_listing_path(member_listing.profile, member_listing) %>
<%= link_to 'Details', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %> <%= link_to 'Update', edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %> <%= 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 listing information and cannot be reversed.' } %>
<%= link_to phcmembers.new_member_profile_listing_path, class: "btn btn-primary btn-sm" do %> <%= "Add a New Listing for " + @members_profile_info .member_first_name + " " + @members_profile_info .member_last_name %> <% end %>