Shops
@if($message = session()->pull('message'))
{{ $message }}
@endif @if($message_delete = session()->pull('message_delete'))
{{ $message_delete }}
@endif
{{ csrf_field() }}
Name:
Address:
Email:
Добавить
@if(count($errors))
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(count($shops))
#
Name
Address
Email
Action
@foreach($shops as $shop)
{{ $loop->iteration }}
{{ $shop->name }}
{{ $shop->address }}
{{ $shop->email }}
@method('DELETE') @csrf
Delete
@endforeach
@endif