<div class="content">

<form method="POST" action="<?= Helpers::adminLink('edit_package'); ?>">

<div class="row">

             <?php  if($this->session->flashdata()) { ?>

              <div class="form-group col-sm-12">

                    <div class="alert alert-info"><?php  echo $this->session->flashdata("response");?> </div></div>

               <?php } ?> 

  <div class="form-group col-sm-6">

    <label>Name</label>

    <input type="text" class="form-control" name="name" placeholder="Enter name" value="<?= $data['name']; ?>">

  </div>

  <div class="form-group col-sm-6">

    <label>Amount</label>

    <input type="number" class="form-control" name="amount" placeholder="amount" value="<?= $data['amount']; ?>">

  </div>

  </div>

  <div class="row">

  <div class="form-group col-sm-12">

    <label>Admin Fee</label>

    <input type="number" class="form-control" name="admin_fee" placeholder="Admin Fee" value="<?= $data['admin_fee']; ?>">

  </div>

  <div class="form-group col-sm-12">

    <label>Description</label>

    <textarea class="form-control" name="description" placeholder="Short Description" value="<?= $data['description']; ?>">

      </textarea>

  </div>

  </div>

  <input type="hidden" name="id" value="<?= $data['id']; ?>">

  <button type="submit" class="btn btn-primary">Submit</button>

</form>

</div>