<% phc_title "Member Address Manager" %> <% phc_title_tagline "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> <% 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_addresses.each do |member_address| %> <% end %>
Address Line 1 City Country PostalCode Type
<%= link_to member_address.mcaddressl1, phcmembers.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mccity, phcmembers.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mccountry, phcmembers.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mcpostalcode, phcmembers.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mctype, phcmembers.member_profile_address_path(member_address.profile, member_address) %> <%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>