app/views/phcmemberspro/members/mains/components/_profile_tables.html.erb in phcmemberspro-8.5.4 vs app/views/phcmemberspro/members/mains/components/_profile_tables.html.erb in phcmemberspro-8.5.5
- old
+ new
@@ -1,21 +1,21 @@
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
- <th>Address Line 1</th>
+ <th>Address</th>
<th>City</th>
<th>Province</th>
<th>Type</th>
</tr>
</thead>
<tbody>
<% @members_main.contacts.each do |members_main_contact| %>
<tr>
- <td class="highlight"><%= link_to members_main_contact.mcaddressl1, members_main_contact_path(members_contact.main, members_contact) %></td>
- <td class="highlight"><%= link_to members_main_contact.mccity, members_main_contact_path(members_contact.main, members_contact) %></td>
- <td class="highlight"><%= link_to members_main_contact.mcprovince, members_main_contact_path(members_contact.main, members_contact) %></td>
- <td class="highlight"><%= link_to members_main_contact.mctype, members_main_contact_path(members_contact.main, members_contact) %></td>
+ <td class="highlight"><%= members_main_contact.mcaddressl1 %></td>
+ <td class="highlight"><%= members_main_contact.mccity %></td>
+ <td class="highlight"><%= members_main_contact.mcprovince %></td>
+ <td class="highlight"><%= members_main_contact.mctype %></td>
</tr>
<% end %>
</tbody>
</table>
<table class="table table-striped table-bordered table-advance table-hover">
@@ -28,13 +28,13 @@
</tr>
</thead>
<tbody>
<% @members_main.businesses.each do |members_main_business| %>
<tr>
- <td class="highlight"><%= link_to members_main_business.mbcompanyname, members_main_business_path(members_business.main, members_business) %></td>
- <td class="highlight"><%= link_to members_main_business.mbcontactname, members_main_business_path(members_business.main, members_business) %></td>
- <td class="highlight"><%= link_to members_main_business.mbcity, members_main_business_path(members_business.main, members_business) %></td>
- <td class="highlight"><%= link_to members_main_business.mbphone, members_main_business_path(members_business.main, members_business) %></td>
+ <td class="highlight"><%= members_main_business.mbcompanyname %></td>
+ <td class="highlight"><%= members_main_business.mbcontactname %></td>
+ <td class="highlight"><%= members_main_business.mbcity %></td>
+ <td class="highlight"><%= members_main_business.mbphone %></td>
</tr>
<% end %>
</tbody>
</table>