Skip to content

Commit

Permalink
Update show.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
flxcn committed Jul 29, 2022
1 parent 051647f commit 0420cbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/views/contacts/show.blade.php
Original file line number Diff line number Diff line change
@@ -13,6 +13,8 @@

<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center mb-4">
<h2 class="card-title">Contact with {{$contact->client->first_name . " " . $contact->client->last_name}} <span class="text-secondary text-sm">#{{$contact->id}}</span></h2>

@can('delete contacts')
<div class="btn-toolbar pb-3">
<div class="btn-group">
<form method="post" action="{{route('clients.contacts.destroy', ['client' => $contact->client->id, 'contact' => $contact->id])}}">
@@ -22,6 +24,7 @@
</form>
</div>
</div>
@endcan
</div>

<form method="POST" action="{{route('clients.contacts.update', ['client' => $contact->client->id, 'contact' => $contact->id])}}" enctype="multipart/form-data">

0 comments on commit 0420cbe

Please sign in to comment.