Blame view

src/app/backend/views/brief_blocks/index.php 935 Bytes
ef60cd4d   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <div class="inner"><?= $this->flash->output(); ?></div>
  <table class="table table-hover" data-url="/sort_user">
      <thead>
      <tr>
          <th>#</th>
          <th><p>Название</p></th>
          <th class="table-buttons"></th>
      </tr>
      </thead>
      <tbody id="result">
      <?php foreach ($data as $item):?>
          <tr>
              <td><?=$item->id; ?></td>
              <td><?= $item->name ?></td>
              <td>
                  <a href="<?= $this->url->get([ 'for' => 'delete_brief_blocks', "id"=>$item->id]) ?>" class="action-img delete_icon" title="Удалить" onclick="return confirm('Вы действительно хотите удалить пункт?')"></a>
                  <a href="<?= $this->url->get([ 'for' => 'update_brief_blocks', "id"=>$item->id ]) ?>" class="action-img edit-icon" title="Редактировать"></a>
              </td>
          </tr>
      <?php endforeach; ?>
      </tbody>
  </table>