Sha256: d0fa01f733846f5b0b82b5e1d4faf571a064fca9d4427968573815cfbe5ae4f4

Contents?: true

Size: 663 Bytes

Versions: 8

Compression:

Stored size: 663 Bytes

Contents

- 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'

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mix-rails-0.25.1 mix-rails-vouchers/app/views/admix/vouchers/_form_config.haml
mix-rails-vouchers-0.25.1 app/views/admix/vouchers/_form_config.haml
mix-rails-0.25.0 mix-rails-vouchers/app/views/admix/vouchers/_form_config.haml
mix-rails-vouchers-0.25.0 app/views/admix/vouchers/_form_config.haml
mix-rails-0.24.1 mix-rails-vouchers/app/views/admix/vouchers/_form_config.haml
mix-rails-vouchers-0.24.1 app/views/admix/vouchers/_form_config.haml
mix-rails-0.24.0 mix-rails-vouchers/app/views/admix/vouchers/_form_config.haml
mix-rails-vouchers-0.24.0 app/views/admix/vouchers/_form_config.haml