@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if(!isset($id)) @php $id = 0; @endphp @endif
{{ method_field('PUT') }} {{ csrf_field() }}