@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
global) ? 'checked' : '' }}>
{{ __('When enabled, this profile can be combined with others in teams and users may be asked to reuse existing results. Use for profiles that do not change quickly (e.g., motivation profiles). Disable for one-time assessments (e.g., team scans, behavioural assessments).') }}

{{ __('Pricing') }}
{{ __('Wholesale price for facilitators, excluding VAT.') }} @error('price')
{{ $message }}
@enderror
{{ __('Retail price for end consumers, including VAT.') }} @error('ext_price')
{{ $message }}
@enderror

{{ __('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