app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-6.5.4 vs app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-6.5.5

- old
+ new

@@ -52,16 +52,16 @@ </tr> </thead> <tbody> <% @members_contacts.each do |members_contact| %> <tr> - <td><%= members_contact.mcaddressl1 %></td> - <td><%= members_contact.mcaddressl2 %></td> - <td><%= members_contact.mccity %></td> - <td><%= members_contact.mcprovince %></td> - <td><%= members_contact.mccountry %></td> - <td><%= members_contact.mcpostalcode %></td> - <td><%= members_contact.mctype %></td> + <td><%= link_to members_contact.mcaddressl1, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mcaddressl2, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mccity, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mcprovince, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mccountry, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mcpostalcode, members_main_contact_path(members_contact.main, members_contact) %></td> + <td><%= link_to members_contact.mctype, members_main_contact_path(members_contact.main, members_contact) %></td> <td> <%= link_to members_main_contact_path(members_contact.main, members_contact), class: "btn blue-chambray btn-xs btn-outline sbold uppercase" do %> <i class="fa fa-share"></i> ADDRESS DETAILS <% end %> </td>