<?php $__env->startSection('title', 'Settings'); ?>
<?php $__env->startSection('content'); ?>
<div class="card mb-4">
    <div class="card-header d-flex align-items-center justify-content-between">
      <h5 class="mb-0">Set Device IP</h5>
    </div>
    <div class="card-body">
      <form action="<?php echo e(route('organization.update')); ?>" method="POST">
        <?php echo csrf_field(); ?>

        <div class="row">
          <div class="mb-3 col-md-6">
            <label class="form-label" for="name">Organization Name</label>
            <div class="input-group input-group-merge">
              <span id="company"  class="input-group-text"><i class="bx bx-buildings"></i></span>
              <input type="text" id="name" name="name" value="<?php echo e($org->name); ?>" class="form-control" aria-describedby="company">
            </div>
            <?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="text-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            
          </div>

          <div class="mb-3 col-md-6">
            <label class="form-label" for="api_key">Api Key</label>
            <div class="input-group input-group-merge">
              <span id="api-key-icon" class="input-group-text"><i class='bx bxs-key'></i></span>
              <input type="text" id="api_key" value="<?php echo e($org->api_key); ?>" name="api_key" class="form-control" aria-describedby="api-key-icon">
            </div>

            <?php $__errorArgs = ['api_key'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="text-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
          </div>
        </div>

        <button class="btn btn-primary">Update</button>

      </form>
    </div>
  </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\EDTECO\resources\views/pages/organization/edit.blade.php ENDPATH**/ ?>