@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) @endforeach
Fornavn Efternavn Email Tlf nr Rolle(r) 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