Blame view

src/app/frontend/views/series_of_letters/index.php 1.13 KB
d0f33a64   Administrator   change request to...
1
2
  <h1>Серии писем</h1>
  <div class="inner"><?= $this->flash->output(); ?></div>
99aaea9a   Administrator   change request to...
3
  <a class="btn btn-primary" href="<?= $this->url->get('series_of_letters/add') ?>">Добавить</a>
d0f33a64   Administrator   change request to...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <table class="table table-hover" data-url="">
      <thead>
      <tr>
          <th id="id">#</th>
          <th id="name"><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->title; ?></td>
              <td>
99aaea9a   Administrator   change request to...
19
20
                  <a href="<?= $this->url->get('series_of_letters/delete/'.$item->id) ?>" class="action-img delete_icon" onclick="return confirm('Вы действительно хотите удалить пункт?')" title="Удалить"></a>
                  <a href="<?= $this->url->get('series_of_letters/update/'.$item->id) ?>" class="action-img edit-icon" title="Редактировать"></a>
d0f33a64   Administrator   change request to...
21
22
23
24
25
              </td>
          </tr>
      <?php endforeach; ?>
      </tbody>
  </table>
99aaea9a   Administrator   change request to...
26
  <a class="btn btn-primary" href="<?= $this->url->get('series_of_letters/add') ?>">Добавить</a>