admin for promotions

This commit is contained in:
2458773093
2019-09-04 01:29:46 +03:00
parent daf5eeb905
commit d853beebb7
8 changed files with 114 additions and 1 deletions
@@ -0,0 +1,16 @@
- 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
= link_to t('promotions.create'), new_settings_promotion_path, class: 'button'