<% phc_title "Member Address Manager" %> <% phc_title_tagline "Addresses for " + @members_profile_info.member_firstname + " " + @members_profile_info.member_lastname %> <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %> <% phc_breadcrumb_two link_to "Members List", phcmemberspro.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.address_addressl1, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.address_city, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.address_country, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.address_postalcode, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %> <%= link_to member_address.address_type, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %>
<%= link_to 'Update', edit_member_profile_address_path(member_address.profile, member_address), class: "btn btn-purple btn-xs" %> <%= 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.' } %>
<%= link_to phcmemberspro.new_member_profile_address_path, class: "btn btn-primary btn-sm" do %> <%= "Add a New Address for " + @members_profile_info.member_firstname + " " + @members_profile_info.member_lastname %> <% end %>