<?php $__env->startSection('title'); ?> <h5 class="m-0 font-weight-bold text-primary" style="float: left;">Domain Update</h5> 

<a href="<?php echo e(route('DomainSale.index')); ?>" style="float: right;"><i class="fas fa-chevron-circle-left"></i></a>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div class="intro-y box"> 
        
        <form action="<?php echo e(route('DomainSale.update' , $domain->id)); ?>" method="POST">
            <?php echo csrf_field(); ?>


            <input type="hidden" name="_method" value="put">
        <label for="Name" >Name:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="text" name="name" value="<?php echo e($domain->name); ?>" class="form-control" placeholder="Domain Name">
            <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <label >Short Description:</label>
        <div class="input-group" style="margin-top: 10px;">
           <textarea name="short_description" id="editor"><?php echo e($domain->short_description); ?></textarea>
            <?php $__errorArgs = ['short_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <label  >Full Description:</label>
        <div class="input-group" style="margin-top: 10px;">
           <textarea name="full_description" id="editor2"><?php echo e($domain->full_description); ?></textarea>
            <?php $__errorArgs = ['full_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <label>Price:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="text" name="price" value="<?php echo e($domain->price); ?>" class="form-control" placeholder="Price $">
            <?php $__errorArgs = ['price'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <label>Registrar Name:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="text" name="registrar" value="<?php echo e($domain->registrar); ?>" class="form-control" placeholder="Registrar">
            <?php $__errorArgs = ['registrar'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>
        

        <label>Registrar Date:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="date" name="registrar_date" value="<?php echo e($domain->registrar_date); ?>" class="form-control" placeholder="Registrar Date">
            <?php $__errorArgs = ['registrar_date'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <label >Status:</label>
        <div class="input-group" style="margin-top: 10px;">
           <select class="form-control" name="status" >
               <option value="">Please Select one</option>
               <option value="1" <?php if($domain->status == 1): ?> selected <?php endif; ?>>Available</option>
               <option value="2" <?php if($domain->status == 2): ?> selected <?php endif; ?>>Sold</option>
           </select>
            <?php $__errorArgs = ['status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>
        
        <label>URL:</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="text" name="url" value="<?php echo e($domain->url); ?>"  class="form-control" placeholder="Domain URL">
            <?php $__errorArgs = ['url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="alert-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <br>

        <button type="submit" class="btn btn-primary">Update</button>
        </form>
    </div>



<?php $__env->stopSection(); ?>
<?php echo $__env->make('Admin.master_page', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/leaparyanict/aict.leap.aryanict.com/resources/views/Admin/DomainSale/update.blade.php ENDPATH**/ ?>