@extends('web.layouts.app') @section('title', __('التحقق من الرمز')) @section('page_heading', __('التحقق من الرمز')) @section('content')
أدخل رمز OTP
{{-- عرض إخفاء جزئي من الهاتف أو البريد --}} @if (session('verification_type') == 'phone' && session('otp_phone'))

تم إرسال الكود إلى هاتف ينتهي بـ {{ session('otp_phone') }}

@elseif(session('verification_type') == 'email' && session('otp_email'))

تم إرسال الكود إلى البريد الإلكتروني {{ session('otp_email') }}

@endif
@csrf {{-- حقول الإدخال الخمسة --}}
{{-- سنضيف حقل مخفي سيضم القيمة المجمعة من الحقول الخمسة --}} @error('code') {{ $message }} @enderror
@endsection @section('scripts') @endsection