8aeae9c45d
• Updated: - routes for admins dashboard (expenses, group categories, promotions, trending hashtags) that were in the /settings path but are now in the /admin path - /filters to be in /settings/filters • Removed: - authorize_follow route
15 lines
621 B
Plaintext
15 lines
621 B
Plaintext
- content_for :page_title do
|
|
= t('promotions.title')
|
|
|
|
= simple_form_for @promotion, url: admin_promotion_path(@promotion) do |f|
|
|
= 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('generic.save_changes'), type: :submit
|