@extends('admin.templates.panel-form-template') @section('title') @if(isset($item)) {{__("Edit user")}} [{{$item->name}}] @else {{__("Add new user")}} @endif - @endsection @section('form')
@include('components.err')

{{__("Tips")}}

  • {{__("If you want to change the password, choose both the same. Otherwise, leave the password field blank.")}}
  • {{__("E-mail is unique each users")}}
  • @if(config('app.demo'))
  • {{__("You can't change email or password in demo version")}}
  • @endif

{{__("Avatar")}}

@if(isset($item)) {{__("Edit user")}} [{{$item->name}}] @else {{__("Add new user")}} @endif

role??null)}}' :close-on-Select="true">
@if(isset($item) && $item->hasRole('user'))

@foreach($routes as $name => $route)
@foreach($route as $r)
hasAccess("admin.{$name}.{$r}")) checked @endif value="admin.{{$name}}.{{$r}}" id="s{{$r}}">
@endforeach

@endforeach

@endif
@endsection @section('js-content') @endsection