@extends('backend.layouts.app') @section('title') {{ __('skill_list') }} @endsection @section('content')
This list will be displayed on the candidate settings page. The candidate can choose his skills from a list.

{{ __('skill_list') }} ({{ count($skills) }})

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

{{ __('edit') }} {{ __('skill') }}

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

{{ __('create') }} {{ __('skill') }}

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

{{ __('dont_have_permission') }}

@endif
@endif
{{ $skills->links() }}
@endsection