- admix_tab t('vouchers.voucher') do |t| - t.tab_content do = f.input :name, label: t('vouchers.fields.name'), input_html: {class: 'span12'} = f.input :rules, label: t('vouchers.fields.rules'), as: 'ckeditor', input_html: { ckeditor: {toolbar: 'Full'} } - admix_tab t('tabs.images') do |t| - t.tab_content do = f.input :photo, label: t('vouchers.fields.photo'), as: :file = f.input :partner_photo, label: t('vouchers.fields.partner_photo'), as: :file - content_for :form_options do = f.input :date_from, label: t('vouchers.fields.date_from'), as: 'datepicker' = f.input :date_to, label: t('vouchers.fields.date_to'), as: 'datepicker'