@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Vis Lokationer @endsection @section("path") Vis lokationer / @endsection @section("content") @if(auth()->user()->can('locations.create'))
CreateOpret Lokation
@endif @if(auth()->user()->can('locations.edit')) @endif @if(auth()->user()->can('locations.delete')) @endif @foreach($locations as $location) @if(auth()->user()->can('locations.edit')) @endif @if(auth()->user()->can('locations.delete')) @endif @endforeach
Navn ShowUpdateDelete
{{$location->name}} $location ]) }}">Show $location ]) }}">Update
$location ]) }}" class="w-100 nostyle"> @csrf @method("delete")
@endsection