% phc_title "Member Address Manager" %> <% phc_title_tagline "Addresses for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %> <% phc_breadcrumb_one link_to "Members List", phcdevworks_members.member_profiles_path %> <% phc_breadcrumb_two link_to @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name + " Details", phcdevworks_members.member_profile_path(@member_profile) %> <% phc_breadcrumb_three yield(:phc_title_tagline) %>
Address Line 1 | City | Country | PostalCode | Type | |
---|---|---|---|---|---|
<%= link_to member_address.member_address_line_1, phcdevworks_members.member_profile_address_path(member_address.profile, member_address) %> | <%= link_to member_address.member_address_city, phcdevworks_members.member_profile_address_path(member_address.profile, member_address) %> | <%= link_to member_address.member_address_country, phcdevworks_members.member_profile_address_path(member_address.profile, member_address) %> | <%= link_to member_address.member_address_postal_code, phcdevworks_members.member_profile_address_path(member_address.profile, member_address) %> | <%= link_to member_address.member_address_type, phcdevworks_members.member_profile_address_path(member_address.profile, member_address) %> |
<%= link_to "Address Details", member_profile_address_path(member_address.profile, member_address), class: "btn btn-primary btn-xs" %>
<%= link_to "Update Address", edit_member_profile_address_path(member_address.profile, member_address), class: "btn btn-purple btn-xs" %>
<%= link_to "Remove Address", 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." } %>
|