@csrf
@if ($photo) hero @else hero @endif

Courses

    @if($courses) @foreach($courses as $course)
  • @endforeach @endif
{{--
@json($courses_attach)
--}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif {{--
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
--}}