<?php include 'header.php'; ?>
<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
		 <div class="panel panel-default">
          <div class="panel-body">
          
              <form action="admin/account" method="post" enctype="multipart/form-data">
          
      
          <div class="form-group">
            <label for="charge" class="control-label">Current Password</label>
            <input type="password" class="form-control" value="" name="current_password">
          </div>

          <div class="form-group">
            <label for="charge" class="control-label">New Password</label>
            <input type="password" class="form-control" value="" name="password">
          </div>

          <div class="form-group">
            <label for="charge" class="control-label">Password again</label>
            <input type="password" class="form-control" value="" name="confirm_password">
          </div>
          <!-- PHP code to display errors -->
    <?php if (!empty($errors)): ?>
        <div class="alert alert-danger">
            <ul>
                <?php foreach ($errors as $error): ?>
                    <li><?php echo $error; ?></li>
                <?php endforeach; ?>
            </ul>
        </div>
    <?php endif; ?>

          <button type="submit" class="btn btn-primary">Change Password</button>
        </form>
      </div><br>

      </div>
</div>

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

<?php include 'footer.php'; ?>
