app/views/phcmemberspro/members/mains/show.html.erb in phcmemberspro-4.9.0 vs app/views/phcmemberspro/members/mains/show.html.erb in phcmemberspro-4.9.1
- old
+ new
@@ -34,10 +34,10 @@
<%= image_tag @members_main.gravatar_url, :class => 'img-thumbnail img-responsive' %>
<div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Member Main Group">
<%= link_to 'Update Member', edit_members_main_path(members_main), class: "btn blue-hoki" %>
<%= link_to 'Private Address', members_main_contacts_path(members_main), class: "btn yellow-mint" %>
<%= link_to 'Member Listings', members_main_listings_path(members_main), class: "btn blue-hoki" %>
- <%= link_to 'Delete Member', members_main, method: :delete, data: { confirm: 'Are you sure? Removing a member will delete all records including all listing information from the directory.' }, class: "btn red-mint" %>
+ <%= link_to 'Delete Member', @members_main, method: :delete, data: { confirm: 'Are you sure? Removing a member will delete all records including all listing information from the directory.' }, class: "btn red-mint" %>
</div>
<p><small><strong>Member Creation Date</strong></br> <%= @members_main.created_at.strftime("%B %d at %I:%M %p") %></small></p>
</div>
<div class="col-lg-9">
<div class="table-responsive">