<div class="col-xl-12">
  <div class="card card-flush h-lg-100" id="kt_contacts_main">
    <div class="card-header pt-7" id="kt_chat_contacts_header">
      <div class="card-title">
        <h2>تغيير الصورة الشخصية</h2>
      </div>
    </div>
    <div class="card-body pt-5">

      <?= form_open_multipart('dashboard/profile/profileimage/update') ?>

      <div class="fv-row mb-7">
        <label class="fs-6 fw-semibold form-label mt-3" for="image"><span class="required">الصورة الشخصية</span></label>
        <input type="file" class="form-control" name="image" id="image" />
      </div>

      <div class="separator mb-6"></div>

      <div class="d-flex justify-content-end">

      

        <a href="<?= base_url('dashboard/profile') ?>" class="btn btn-light me-3">ألغ</a>

        <button type="submit" class="btn btn-primary">
          <span class="indicator-label">حفظ</span>
          <span class="indicator-progress">برجاء الانتظار ...
            <span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
        </button>

      </div>

      <?= form_close() ?>

    </div>
  </div>
</div>