Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <div class="paymentMethods index container">
  2. <div class="row">
  3. <h1>
  4. <?= __('Payment Methods'); ?>
  5. </h1>
  6. </div>
  7. <div class="row">
  8. <div class="col-md-12">
  9. <table class="table table-striped table-hover">
  10. <thead>
  11. <tr>
  12. <th><?= $this->Paginator->sort('id'); ?></th>
  13. <th><?= $this->Paginator->sort('name'); ?></th>
  14. <th><?= $this->Paginator->sort('slug'); ?></th>
  15. <th><?= $this->Paginator->sort('fee'); ?></th>
  16. <th><?= $this->Paginator->sort('active'); ?></th>
  17. <th><?= $this->Paginator->sort('created'); ?></th>
  18. <th><?= $this->Paginator->sort('modified'); ?></th>
  19. <th class="actions"><?= __('Actions'); ?></th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <?php foreach ($paymentMethods as $paymentMethod): ?>
  24. <tr>
  25. <td><?= h($paymentMethod['PaymentMethod']['id']); ?></td>
  26. <td><?= h($paymentMethod['PaymentMethod']['name']); ?></td>
  27. <td><?= h($paymentMethod['PaymentMethod']['slug']); ?></td>
  28. <td><?= h($paymentMethod['PaymentMethod']['fee']); ?></td>
  29. <td><?= $this->Boolean->display($paymentMethod['PaymentMethod']['active']); ?></td>
  30. <td><?= h($paymentMethod['PaymentMethod']['created']); ?></td>
  31. <td><?= h($paymentMethod['PaymentMethod']['modified']); ?></td>
  32. <td class="actions">
  33. <?= $this->Html->link(
  34. __('Edit'),
  35. ['action' => 'edit', $paymentMethod['PaymentMethod']['id'], 'plugin' => 'cart'],
  36. ['class' => 'btn btn-xs btn-primary']
  37. ); ?>
  38. </td>
  39. </tr>
  40. <?php endforeach; ?>
  41. </tbody>
  42. </table>
  43. </div>
  44. </div>
  45. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement