@extends('layouts.app') @section('link') @endsection @section('content')

Промяна на потребител

{{ method_field('PATCH') }} {{ csrf_field() }}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif

Допълнителна информация

@if ($errors->has('birth_date')) {{ $errors->first('birth_date') }} @endif
@if ($errors->has('height')) {{ $errors->first('height') }} @endif
@if ($errors->has('weight')) {{ $errors->first('weight') }} @endif
@if ($errors->has('playing_since')) {{ $errors->first('playing_since') }} @endif
@if($user->image) @endif
image ? 'hidden' : ''}}>
here goes the image
@if ($errors->has('image.*')) {{ $errors->first('image.*') }} @endif
@endsection