<link href="/css/admin/quick_btn.css" media="screen" rel="stylesheet" type="text/css" />
<?= form_open("/" . $layout['id'] . "/authquickbutton/delete", array("method" => "post")) ?>
<div class="dropdown quick1" style="position:relative; padding-left:45px; padding-top:7px; text-align:left;">
  <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">퀵버튼 추가 <i class="fa fa-caret-down"></i></button>
    <?php foreach ($layout['authQuickButtons'] as $authQuickButton) :  ?>
    <a href="<?= $authQuickButton->url ?>" class="btn btn-default" value="<?= $authQuickButton->uid ?>"><?= form_checkbox(array("name" => "batchjob_uids[]", "value" => $authQuickButton->uid)) ?><?= $authQuickButton->title ?></a>
    <?php endforeach; ?>
    <?= form_submit('', '삭제', 'class="btn btn-outline btn-danger" type="button"') ?>
  <ul class="dropdown-menu dropdown-menu-right" style="position:absolute; left:45px;">
    <?php foreach ($layout['quickButtons'] as $quickButton) :  ?>
      <li><a href="/admin/authquickbutton/insert?quickbutton=<?= $quickButton->uid ?>" class="btn btn-default addQuickBtn"><?= $quickButton->title ?></a></li>
    <?php endforeach; ?>
  </ul>
</div>
<?= form_close() ?>