@extends('backend.layouts.app') @section('title') {{ __('tag_list') }} @endsection @section('content')
This list will be displayed on the job creation page. The company can select relevant job tags from a list.

{{ __('tag_list') }} ({{ count($tags) }})

@if (userCan('tags.update') || userCan('tags.delete')) @endif @forelse ($tags as $item) @empty @endforelse
{{ __('name') }} {{ __('show_popular_list') }} {{ __('action') }}
{{ Str::ucfirst($item->name) }}
@foreach ($item->translations as $translation) @if (app()->getLocale() == $translation->locale) @else {{ getLanguageByCodeInLookUp($translation->locale,$app_language) }}: {{ $translation->name }} @endif @endforeach
@if (userCan('tags.update')) @endif @if (userCan('tags.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
{{ $tags->links() }}
@if (!empty($tag) && userCan('tags.update'))

{{ __('edit') }} {{ 'tag' }}

{{ __('create') }}
@csrf @method('PUT') @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCodeInLookUp($language->code,$app_language); $name = "name_{$language->code}"; $code = $tag->translations[$key]['locale'] ?? ''; $data = $tag->translations->where('locale', $language->code)->first(); $value = $data ? $data->name : ''; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@endif @if (empty($tag) && userCan('tags.create'))

{{ __('create') }} {{ 'tag' }}

@if (userCan('tags.create'))
@csrf @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCodeInLookUp($language->code,$app_language); $name = "name_{$language->code}"; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@else

{{ __('dont_have_permission') }}

@endif
@endif
@endsection @section('style') @endsection @section('script') @endsection