@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Opret Nyhed @endsection @section("path") Opret Nyheder / @endsection @section("content") @if(auth()->user()->can('news.create'))
CreateOpret Nyheder
@endif @if(auth()->user()->can('news.edit')) @endif @if(auth()->user()->can('news.delete')) @endif @foreach($news as $new) @if(auth()->user()->can('news.edit')) @endif @if(auth()->user()->can('news.delete')) @endif @endforeach
NavnUpdateDelete
{{$new->subname}} $new ]) }}">Update
$new ]) }}" class="w-100 nostyle"> @csrf @method("delete")
{{ $news->links() }} @endsection