<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<?php echo form_open(current_url(),'class="form-horizontal"');?>
  <div class="form-group">
    <label  class="col-sm-2 control-label">
      Kata sandi baru
    </label>
    <div class="col-sm-10">
      <input class="form-control" type="text" name="new_password" id="new_password" value="" maxlength="12" required="required"/>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox" name="send_email" value="1"/>
          Kirim Email pemberitahuan ke pengguna ini
        </label>
      </div>
    </div>
    <div class="clearfix"></div>
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox" name="send_sms" value="1"/>
          Kirim SMS pemberitahuan ke pengguna ini
        </label>
      </div>
    </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-check"></i> Simpan</button>
      &nbsp;
      <a href="<?php echo site_url('admin/users/profil/' . $user->us_id);?>" class="btn btn-default" data-dismiss="modal"><i class="fa fa-remove"></i> Batal</a>
    </div>
  </div>
<?php echo form_close();?>