@extends('admin._layouts.default') @section('content')
@if($obj->id)

Edit User

@else

Create new User

@endif
@if(auth()->user()->can($permissions['create'])) @endif
@include('admin._partials.notifications')
@if($obj->id)
@else @endif @csrf id) value="{{encrypt($obj->id)}}" @endif id="inputId">

Roles

@foreach($roles as $role)
hasRole($role->name)) checked="checked" @endif>
@endforeach

Back to List
@include('admin._partials.footer')
@endsection @section('footer') @parent @endsection