2019-09-03 23:29:46 +01:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('.title')
|
|
|
|
|
2021-01-13 23:06:45 +00:00
|
|
|
= simple_form_for @promotion, url: admin_promotions_path do |f|
|
2019-09-03 23:29:46 +01:00
|
|
|
= render 'shared/error_messages', object: @promotion
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :timeline_id, wrapper: :with_label, label: t('promotions.timeline_id')
|
|
|
|
= f.input :status_id, wrapper: :with_label, label: t('promotions.status_id')
|
|
|
|
= f.input :expires_at, as: :string, wrapper: :with_label, label: t('promotions.expires_at')
|
|
|
|
= f.input :position, wrapper: :with_label, label: t('promotions.position')
|
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('.create'), type: :submit
|