@extends('Dashboard.master_page')



@section('content')
    <div class="bg-image" style="background-image: url('assets/media/photos/photo10@2x.jpg');">
        <div class="bg-primary-dark-op">
            <div class="content content-full text-center">
                
                <h1 class="h2 text-white mb-0">.AF Domain Transfer</h1>
                
            </div>
        </div>
    </div>



    <div class="content content-boxed">
        <div class="block block-rounded">
            <div class="block-header block-header-default">

                <h3 class="block-title">Transfer your .AF domain for FREE. Already own a .AF with us? LEAP to LEAP Transfer Free</h3>


            </div>
            
            @if($response['error'] != null)
                <p class="text-danger p-4">{{ $response['error'] }}</p>
            @else
            
            <div >
                <div class="block-content block-content-full " >
                   <div class="row justify-center">
                        <form action="{{ route('domain.transfer.to') }}" method="POST" class="row" style="justify-content:center">
                        @csrf
                        <input type="hidden" name="organization" value="{{ $response['organization'] }}">
						<input type="hidden" name="domain" value="{{ $response['domain'] }}">
                       <div class="col-lg-12 col-xl-8"> 
                            <div class="form-floating mb-4">
                                <input type="text" class="form-control" placeholder="Registration Email *" value="{{ $response['email'] }}" required
                                    name="register_email" readonly>
                                <label for="example-password-input-floating">Registration Email *</label>
                            </div>
                        </div>
                        
                        <div class="col-lg-12 col-xl-8"> 
                            <div class="form-floating mb-4">
                                <input type="text" class="form-control" placeholder="Registration Name *" value="{{ $response['name'] }}" required
                                    name="register_name" readonly>
                                <label for="example-password-input-floating">Registration Name *</label>
                            </div>
                        </div>
                         <button type="submit" class="btn btn-alt-primary">Confirm Owner and Email</button>
                    </form>
                   </div>
            </div>
            </div>
            
            
            @endif
            
            
            
            
        </div>


    </div>
@endsection
@section('script')
<script>
    $(document).ready(function(){
       
    });
</script>
@endsection
