2019-09-03 23:29:46 +01:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('promotions.title')
|
|
|
|
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= t('promotions.timeline_id')
|
|
|
|
%th= t('promotions.status_id')
|
|
|
|
%th= t('promotions.expires_at')
|
|
|
|
%th= t('promotions.position')
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
= render @promotions
|
|
|
|
|
2021-01-13 23:06:45 +00:00
|
|
|
= link_to t('promotions.create'), new_admin_promotion_path, class: 'button'
|