<?php echo form_open(current_url(),'class="form-horizontal"');?>
  <div class="form-group">
    <label class="col-sm-2 control-label">Email</label>
    <div class="col-sm-10">
      <input class="form-control" type="email" value="<?php echo $account->email;?>" disabled="disabled"/>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">Whitelist</label>
    <div class="col-sm-10">
      <select class="form-control" name="whitelist">
        <option value="1"<?php echo $account->whitelist ? ' selected="selected"' : '';?>> Ya</option>
        <option value="0"<?php echo !$account->whitelist ? ' selected="selected"' : '';?>> Tidak</option>
      </select>
    </div>
  </div>
  <div class="form-group" style="margin-bottom: 0;">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary"><i class="fa fa fa-check"></i> Simpan</button>
      &nbsp;
      <a href="<?php echo site_url('admin/payments/paypal/email_lists');?>" class="btn btn-default" data-dismiss="modal"><i class="fa fa-remove"></i> Batal</a>
    </div>
  </div>
<?php echo form_close();?>