app/views/phcmemberspro/members/businesses/index.html.erb in phcmemberspro-5.1.1 vs app/views/phcmemberspro/members/businesses/index.html.erb in phcmemberspro-5.1.2
- old
+ new
@@ -59,11 +59,14 @@
<td><%= members_business.mbcontactname %></td>
<td><%= members_business.mbcity %></td>
<td><%= members_business.mbcountry %></td>
<td><%= members_business.mbphone %></td>
<td><%= members_business.mbcontactemail %></td>
- <td><%= link_to 'Edit', edit_members_business_path(members_business) %> <%= link_to 'Show', members_business %></td>
- <td><%= link_to 'Destroy', members_business, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td>
+ <%= link_to members_main_business_path(members_business.main, members_business), class: "btn blue-chambray btn-xs btn-outline sbold uppercase" do %>
+ <i class="fa fa-share"></i> BUSINESS DETAILS
+ <% end %>
+ </td>
</tr>
<% end %>
</tbody>
</table>