-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<div class="row justify-content-end text-nowrap"> | ||
<div class="row"> | ||
<a href="{{ route($prefix.'customers.edit', [$customer->id]) }}" | ||
class="btn btn-link col-auto green"> | ||
<span class="fas fa-edit"></span> | ||
<span class="fas fa-edit"></span> Edit | ||
</a> | ||
<form action="{{ route($prefix.'customers.destroy', [$customer->id]) }}" | ||
class="col-auto ml-n3 pr-1" | ||
onsubmit="return confirm('Are you sure you want to delete?');" method="post"> | ||
{{ csrf_field() }} | ||
@method('DELETE') | ||
<button type="submit" class="btn btn-link" title="Delete this customer"> | ||
<span class="fas fa-trash-alt red"></span> | ||
<button type="submit" class="btn btn-link red" title="Delete this customer"> | ||
<span class="fas fa-trash-alt"></span> Delete | ||
</button> | ||
</form> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters