<% phc_title "PHCMembers - Member Address Manager" %> <% phc_title_tagline "Address Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>

<%= yield(:phc_title) %>
<%= yield(:phc_title_tagline) %>

<%= yield(:phc_title_tagline) %>
<% @member_addresses.each do |member_address| %> <% end %>
Address Line 1 Address Line 2 City Province Country PostalCode Type
<%= link_to member_address.mcaddressl1, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mcaddressl2, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mccity, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mcprovince, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mccountry, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mcpostalcode, member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.mctype, member_profile_address_path(member_address.profile, member_address) %>
<%= link_to new_member_profile_address_path, class: "btn btn-primary" do %> <%= "Add a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> <% end %>