@extends('layouts.table') @section('title', trans('menu.users')) @section('create_url', route('user.create')) @section('thead') {{ trans('user.username') }} {{ trans('user.name') }} {{ trans('user.email') }} {{ trans('user.role') }} {{ trans('lang.status') }} {{ trans('lang.action') }} @endsection @section('tbody') @foreach($list as $d) {{ $d->username }} {{ $d->name }} {{ $d->email }} {!! badge_status($d->status) !!} {!! badge_userrole($d->role) !!}
@if(is_owner()) {!! btn_del($d->id, 'user') !!} @endif
@endforeach @endsection