Viewing file: 2b68aac0e560135226bd295db49240d0.php (9.17 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('content'); ?>
<div class="header bg-primary pb-6"> <div class="container-fluid"> <div class="header-body"> <div class="row align-items-center py-4"> <div class="col-lg-6 col-7"> <h6 class="h2 text-black d-inline-block mb-country">Country</h6> <nav aria-label="breadcrumb" class="d-none d-md-inline-block ml-md-4"> <ol class="breadcrumb breadcrumb-links breadcrumb-dark"> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><i class="fas fa-home"></i></a></li> <li class="breadcrumb-item"><a href="<?php echo e(route('country')); ?>">Country</a></li> <li class="breadcrumb-item">Add</li> </ol> </nav> </div> <div class="col-lg-6 col-5 text-right"> <a href="<?php echo e(route('country.add')); ?>" class="btn btn-lg btn-neutral fade-class"><i class="fas fa-plus fa-lg"></i> New</a> </div> </div> </div> </div> </div> <!-- Page content --> <div class="container-fluid mt--6"> <div class="row"> <div class="col-xl-12 order-xl-1"> <div class="card bg-secondary shadow"> <div class="card-header bg-white border-0"> <div class="row align-items-center"> <h3 class="mb-0"><?php echo e(__('Add')); ?></h3> </div> </div> <div class="card-body"> <form method="post" action="<?php echo e(route('country.store')); ?>" autocomplete="off"> <?php echo csrf_field(); ?> <?php echo method_field('post'); ?>
<h6 class="heading-small text-muted mb-4"><?php echo e(__('Add Country ')); ?></h6>
<div class="pl-lg-4 row"> <div class="col-md-4 form-group<?php echo e($errors->has('name') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="input-name"><?php echo e(__('Name')); ?></label> <input type="text" name="name" id="input-name" class="form-control form-control-alternative<?php echo e($errors->has('name') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('Name')); ?>" value="<?php echo e(old('name', '')); ?>" autofocus>
<?php if($errors->has('name')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('name')); ?></strong> </span> <?php endif; ?> </div>
<div class="col-md-4 form-group<?php echo e($errors->has('iso_code_2') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="iso_code_2"><?php echo e(__('ISO Code 2')); ?></label> <input type="text" name="iso_code_2" id="iso_code_2" class="form-control form-control-alternative<?php echo e($errors->has('iso_code_2') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('ISO Code 2')); ?>" value="<?php echo e(old('iso_code_2', '')); ?>" autofocus>
<?php if($errors->has('iso_code_2')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('iso_code_2')); ?></strong> </span> <?php endif; ?> </div>
<div class="col-md-4 form-group<?php echo e($errors->has('iso_code_3') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="iso_code_3"><?php echo e(__('ISO Code 3')); ?></label> <input type="text" name="iso_code_3" id="iso_code_3" class="form-control form-control-alternative<?php echo e($errors->has('iso_code_3') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('ISO Code 3')); ?>" value="<?php echo e(old('iso_code_3', '')); ?>" autofocus>
<?php if($errors->has('iso_code_3')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('iso_code_3')); ?></strong> </span> <?php endif; ?> </div>
<div class="col-md-4 form-group<?php echo e($errors->has('address_format') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="address_format"><?php echo e(__('Address Format')); ?></label> <input type="text" name="address_format" id="address_format" class="form-control form-control-alternative<?php echo e($errors->has('address_format') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('Address Format')); ?>" value="<?php echo e(old('address_format', '')); ?>" autofocus>
<?php if($errors->has('address_format')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('address_format')); ?></strong> </span> <?php endif; ?> </div>
<div class="col-md-4 form-group<?php echo e($errors->has('postcode_required') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="postcode_required"><?php echo e(__('Country Code')); ?></label> <input type="text" name="postcode_required" id="postcode_required" class="form-control form-control-alternative<?php echo e($errors->has('postcode_required') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('Post Code')); ?>" value="<?php echo e(old('postcode_required', '')); ?>" autofocus>
<?php if($errors->has('postcode_required')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('postcode_required')); ?></strong> </span> <?php endif; ?> </div>
<div class="col-md-4 form-group<?php echo e($errors->has('status') ? ' has-danger' : ''); ?>"> <label class="form-control-label" for="status"><?php echo e(__('Status')); ?></label> <select class="form-control" name="status"> <?php $__currentLoopData = config('constant.status'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value=<?php echo e($key); ?>><?php echo e($value); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <?php if($errors->has('status')): ?> <span class="invalid-feedback" role="alert"> <strong><?php echo e($errors->first('status')); ?></strong> </span> <?php endif; ?> </div>
</div>
<div class="pl-lg-4 row">
<div class="text-center"> <button type="submit" class="btn btn-success mt-4"><?php echo e(__('Save')); ?></button> <a href="<?php echo e(route('country')); ?>" type="button" class="btn btn-danger mt-4"><?php echo e(__('Cancel')); ?></a> </div> </div> </form> </div> </div> </div> </div> </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?> <?php $__env->stopPush(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/resources/views/admin/country/add.blade.php ENDPATH**/ ?>
|