Mercurial > borealpoint
view resources/views/clients/show.blade.php @ 2:90296614b7e2 default tip
Adding in the base for the clients table
| author | luka |
|---|---|
| date | Thu, 28 Aug 2025 20:55:40 -0400 |
| parents | |
| children |
line wrap: on
line source
<x-app-layout> <x-slot name="header"> <h2 class="fw-semibold fs-4 text-dark"> {{ ucfirst('client') }} Details </h2> </x-slot> <div class="py-5"> <div class="container"> <div class="bg-white shadow-sm rounded p-4"> <div class="mb-3"> @foreach($fields as $field) <div class="mb-2"> <span class="fw-semibold">{{ ucfirst($field) }}:</span> <span class="ms-2">{{ $item->$field }}</span> </div> @endforeach </div> <div class="d-flex justify-content-end mt-4"> <a href="{{ route('clients.edit', $item) }}" class="me-2 btn btn-warning text-white">Edit</a> <a href="{{ route('clients.index') }}" class="btn btn-secondary">Back</a> </div> </div> </div> </div> </x-app-layout>
