<% phc_title "Members Manager" %> <% phc_title_tagline "Members List" %> <% phc_breadcrumb_one link_to "Dashboard", phcdevworks_members.dashboard_path %> <% phc_breadcrumb_two yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<% @member_profiles.each do |member_profile| %> <% end %>
First Name Last Name Email Phone
<%= link_to member_profile.profile_first_name, member_profile %> <%= link_to member_profile.profile_last_name, member_profile %> <%= link_to member_profile.profile_email, member_profile %> <%= link_to member_profile.profile_phone, member_profile %>
<%= link_to "Member Details", member_profile, class: "btn btn-primary btn-xs" %> <%= link_to "Update Member", edit_member_profile_path(member_profile), class: "btn btn-purple btn-xs" %> <%= link_to "Remove Member", member_profile, method: :delete, data: { confirm: "Are you sure? This will also remove the Members addresses and listings. This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
<%= link_to phcdevworks_members.new_member_profile_path, class: "btn btn-primary btn-sm" do %> Add a New Member <% end %>