@extends('layouts.app') @section('content-header')

{{__('tag.tags')}}

@endsection @section('content') @if(Session::has('success_message'))
{!! session('success_message') !!}
@endif
@if(count($tags) == 0)
@if (App\Helpers\CommonHelper::isCapable('tags.create')) {{__('commons.create')}} @endif

{{__('tag.no_tags_available')}}

@else
@foreach($tags as $tag) @endforeach
{{__('commons.sl')}} {{__('commons.title')}} {{__('commons.created_by')}} {{__('commons.action')}}
{{ $tag->title }} {{ optional($tag->creator)->name }}
{{ csrf_field() }} @if (App\Helpers\CommonHelper::isCapable('tags.show')) @endif @if (App\Helpers\CommonHelper::isCapable('tags.edit')) @endif @if (App\Helpers\CommonHelper::isCapable('tags.destroy')) @endif
@endif
@endsection @section('javascript') @endsection