@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Bruger - Vis @endsection @section("path") Vis Brugere / @endsection @section("content")
CreateOpret Bruger
@csrf
@foreach($users as $user) @if($user->resource_id !== null) @else @endif @endforeach
Fornavn Efternavn Email Tlf nr Rolle(r) ShowImage Update Delete
{{ $user->name_first }} {{ $user->name_last }} {{ $user->email }} {{ $user->phone }} @for($i = 0; $i < count($user->roles); $i++) @if(count($user->roles)-1 != $i) {{$user->roles[$i]->name}}, @else {{$user->roles[$i]->name}} @endif @endfor $user->id ]) }}">Update
$user ]) }}" class="w-100 nostyle"> @csrf @method("delete")
{{ $users->links() }} @endsection