@extends('layouts.app') @section('content')
Назад
Създаване на потребител
{{ csrf_field() }}
Име
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
Роля
@foreach($roles->where('name','!=','Super Admin') as $role) @if(auth()->user()->role_id!=7 || $role->id==5)
id ? "selected" : ""}}>{{$role->name}}
@endif @endforeach
@if ($errors->has('role_id'))
{{ $errors->first('role_id') }}
@endif
Град
Всички
@foreach($cities as $city)
id ? "selected" : ""}}>{{$city->name}}
@endforeach
@if ($errors->has('city_id'))
{{ $errors->first('city_id') }}
@endif
Цвят
@if ($errors->has('color'))
{{ $errors->first('color') }}
@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
Добави
@endsection