app/views/phcmemberspro/members/contacts/show.html.erb in phcmemberspro-6.8.14 vs app/views/phcmemberspro/members/contacts/show.html.erb in phcmemberspro-6.8.15

- old
+ new

@@ -29,45 +29,29 @@ <div class="portlet-title"> <div class="caption"> <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> </div> <div class="actions"> + <%= link_to edit_members_main_contact_path, class: "btn btn-circle blue-chambray" do %> + <i class="fa fa-pencil-square-o"></i> Edit Address + <% end %> + <%= link_to members_main_contact_path, class: "btn btn-circle red-mint" do %> + <i class="fa fa-trash-o"></i> Delete Address + <% end %> </div> </div> <div class="portlet-body"> - - <p> - <strong>Address Line 1:</strong> - <%= @members_contact.mcaddressl1 %> - </p> - - <p> - <strong>Address Line 2:</strong> - <%= @members_contact.mcaddressl2 %> - </p> - - <p> - <strong>City:</strong> - <%= @members_contact.mccity %> - </p> - - <p> - <strong>Province:</strong> - <%= @members_contact.mcprovince %> - </p> - - <p> - <strong>Country:</strong> - <%= @members_contact.mccountry %> - </p> - - <p> - <strong>PostalCode:</strong> - <%= @members_contact.mcpostalcode %> - </p> - + <div class="row"> + <div class="col-lg-6"> + <%= render 'phcmemberspro/members/contacts/components/_contact_address' %> + </div> + <div class="col-lg-6"> + <%= render 'phcmemberspro/members/contacts/components/_contact_audits' %> + </div> + </div> </div> + </div> </div> -</div> \ No newline at end of file +</div>