@php $siteKey = config('services.recaptcha.site_key'); $isEnabled = config('services.recaptcha.enabled', false); $fieldName = $attributes['name'] ?? 'g-recaptcha-response'; $formType = $attributes['form-type'] ?? 'general'; $uniqueId = str_replace(['-', '_'], '', $formType) . time(); // ID duy nhất @endphp @if($isEnabled && $siteKey)