<div class="tab-content" id="pills-tabContent">
  <div class="tab-pane fade show active" id="pills-edit-profile" role="tabpanel" aria-labelledby="pills-edit-profile-tab" tabindex="0">
  
    <form method="post" action="./profiledit" class="row gx-4 gy-3">

      <div class="col-md-6">
        <label for="email" class="text-lg fw-medium text-secondary mb-2">Email Address</label>
        <input type="hidden" name="id" value="<?= ($admin['id']); ?>">
        <input type="email" name="email" class="form-control form-control-lg" value="<?= ($admin['email']); ?>" placeholder="Enter your email address" id="email">
      </div>

      <div class="col-12">
        <button type="submit" name="giftAction" class="btn btn-primary">Update Profile</button>
      </div>
    </form>
  </div>


  <div class="tab-pane fade" id="pills-change-passwork" role="tabpanel" aria-labelledby="pills-change-passwork-tab" tabindex="0">
    <form method="post" action="change_password">
      <div class="row gx-4 gy-3">
        <div class="col-md-6">
          <label for="newpass" class="text-lg fw-medium text-secondary mb-2">New Password</label>
          <input type="password" name="password" class="form-control form-control-lg" placeholder="Enter your new password" id="newpass">
        </div>
        <div class="col-md-6">
          <label for="compass" class="text-lg fw-medium text-secondary mb-2">Re enter Password</label>
          <input type="hidden" name="id" value="<?= ($admin['id']); ?>">
          <input type="password" name="compassword" class="form-control form-control-lg" placeholder="Enter your confirm password" id="compass">
        </div>
        <div class="col-12">
          <button type="submit" name="change_password" class="btn btn-primary">Change Password</button>
        </div>
      </div>
    </form>
  </div>
</div>