<?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">Max Visible</label>
    <div class="col-sm-10">
      <select class="form-control" name="max_visible">
        <option value="0" <?php echo set_select('max_visible', '0', $data['max_visible'] == 0);?>>Tampilkan Semua</option>
        <option value="3" <?php echo set_select('max_visible', '3', $data['max_visible'] == 3);?>>3 Terlihat (1 baris)</option>
        <option value="7" <?php echo set_select('max_visible', '7', $data['max_visible'] == 7);?>>7 Terlihat (2 baris)</option>
        <option value="11" <?php echo set_select('max_visible', '11', $data['max_visible'] == 11);?>>11 Terlihat (3 baris)</option>
        <option value="15" <?php echo set_select('max_visible', '15', $data['max_visible'] == 15);?>>15 Terlihat (4 baris)</option>
        <option value="19" <?php echo set_select('max_visible', '19', $data['max_visible'] == 19);?>>19 Terlihat (5 baris)</option>
        <option value="23" <?php echo set_select('max_visible', '23', $data['max_visible'] == 23);?>>23 Terlihat (6 baris)</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label" style="padding-top: 0;">Circle Icon</label>
    <div class="col-sm-10">
      <label class="radio-inline" style="padding-top: 0;"><input type="radio" name="circle_icon" value="yes" <?php echo set_radio("circle_icon", "yes", @$data['circle_icon']);?> /> Yes</label>
      <label class="radio-inline" style="padding-top: 0;"><input type="radio" name="circle_icon" value="no" <?php echo set_radio("circle_icon", "no", !@$data['circle_icon']);?> /> No</label>
    </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/modules/aplikasi-android/main-page');?>" class="btn btn-default" data-dismiss="modal"><i class="fa fa-remove"></i> Batal</a>
    </div>
  </div>
<?php echo form_close();?>
