@extends('layouts.app') @push('scripts') @endpush @section('content')

{{ __('Edit Profile') }}: {{ $profile->trans('profilename') }}

@csrf @method('PATCH')
@include('components.translatable-input', [ 'name' => 'profilename', 'type' => 'text', 'model' => $profile, 'required' => true, ]) @error('profilename')
{{ $message }}
@enderror @error('profilename.en')
{{ $message }}
@enderror
show_in_teams) ? 'checked' : '' }}>
{{ __('When enabled, this profile will be available for selection when creating or editing teams.') }} @if($profile->tests()->count() > 0)
{{ __('Linked tests:') }} {{ $profile->tests()->count() }} @endif

{{ __('Cancel') }}

{{ __('Tests Configuration') }}

{{ __('Link tests to this profile to define which questions users will answer.') }} @if($profile->tests()->count() > 0)
{{ __('Currently linked:') }} {{ $profile->tests()->count() }} {{ __('test(s)') }} @else
{{ __('No tests linked yet.') }} @endif

{{ __('Link Tests') }}

{{ __('Danger Zone') }}

@csrf @method('DELETE')

{{ __('Deleting this profile will remove all associated questions, titles, and results.') }}

@endsection