@extends('layouts.app') @section('link')
@endsection @section('content')
Промяна на потребител
Назад
{{ method_field('PATCH') }} {{ csrf_field() }}
Име
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
Роля
@foreach($roles as $role) @if($user->role_id=1 or $role->id!=1)
role_id)==$role->id ? "selected" : ""}}>{{$role->name}}
@endif @endforeach
@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
Играя от:
Играя от:
@for($i=now()->year; $i>now()->year-80; $i--)
playing_since)==$i ? "selected" : ""}}>{{ $i }}
@endfor
@if ($errors->has('playing_since'))
{{ $errors->first('playing_since') }}
@endif
Играя с:
Дясна ръка
playing_with)==2 ? "checked" : ""}}> Лява ръка
Снимка
@if($user->image)
@endif
image ? 'hidden' : ''}}>
@if ($errors->has('image.*'))
{{ $errors->first('image.*') }}
@endif
Добави
@endsection