<% @member_profile.addresses.each do |members_main_address| %> <% end %>
Address Line 1 City Province Type
<%= members_main_address.address_address_line_1 %> <%= members_main_address.address_city %> <%= members_main_address.address_province %> <%= members_main_address.address_type %>
<%= link_to "See All of " + @member_profile.member_first_name + " " + @member_profile.member_last_name + " Addresses", phcmembers.member_profile_addresses_path(@member_profile), class: "btn btn-primary btn-xs" %> <%= link_to "Add a New Address for " + @member_profile.member_first_name + " " + @member_profile.member_last_name, phcmembers.new_member_profile_address_path(@member_profile), class: "btn btn-purple btn-xs" %>