@csrf
@if ($photo) hero @else hero @endif
@if($view_route && $button_text) {{$button_text}} @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('role_id')) {{ $errors->first('role_id') }} @endif