   
<?php $__env->startSection('main-section'); ?>  <div class="content container-fluid">
  <div class="row">
    <div class="col-sm-12">
      <div class="card">
        <div class="card-header card-buttons">
          <h5 class="card-title">Add state</h5>
        </div>
        <div class="card-body card-buttons">
          <div class="row">
            <div class="col-sm-12">
                <?php if(Session::has('success')): ?>
                    <div class="alert alert-success"><?php echo e(Session::get('success')); ?></div>
                <?php endif; ?> <?php if(Session::has('fail')): ?> 
                    <div class="alert alert-danger"><?php echo e(Session::get('fail')); ?></div>
                <?php endif; ?>
            </div>
            <div class="col-sm">
              <form action="<?php echo e(route('state.stateCreate', ['id' => $countryId])); ?>" method="post">
                  <?php echo csrf_field(); ?>
                <div class="form-row row">
                  <div class="col-md-4 mb-3">
                    <label for="validationCustom01">state name</label>
                    <input type="text" class="form-control" name="name" id="name" value="<?php echo e(old('name')); ?>" placeholder="state name">
                    <span class="text-danger"><?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> </span>
                  </div>
                </div>
                <button class="btn btn-primary" type="submit">Submit</button>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div> <?php $__env->stopSection(); ?>
<?php echo $__env->make('dashboardLayout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\accounting\accounting\resources\views/state/add.blade.php ENDPATH**/ ?>