@extends('backend.screens.settings.layout') @section('setting-content')
Add Tags
@php $columns = [ 'SNo.', 'Tag Name', 'Date', 'Type', 'Action' ]; @endphp @forelse($tags as $index => $tag) {{ $index + $tags->firstItem() }} {{ $tag->name }} {{ $tag->created_at->format('M d, Y') }} {{ $tag->type->name }} @php $menus = [ [ 'to' => "#", 'fa-icon' => 'fa fa-edit', 'title' => 'Edit', 'type' => 'modal', 'id' => 'edit-tag-'.$tag->id ], [ 'to' => route('admin.setting.tag.delete', $tag->id), 'fa-icon' => 'fa fa-trash', 'title' => 'Delete', 'class' => 'has-confirmation', 'data-message' => 'Are you sure you want to delete this tag?' ], ]; @endphp @empty Tag not found @endforelse @include('backend.shared.pagination', ['paginator' => $tags])
@csrf Add
@foreach($tags as $index => $tag)
@csrf Save
@endforeach @endsection