Sha256: aebf9a31008e44d1ba83ceccf9347a95c7af722b591a95bc7b5f9ef3f63ffcce

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

= render_backend_input_lang_id(f)
= render_backend_input_active(f)
= f.input :active, :wrapper => :active_checkbox, disabled: !@static_module.display_editable_field?('active')
= f.input :title, disabled: !@static_module.display_editable_field?('title')
= f.input :subtitle, disabled: !@static_module.display_editable_field?('subtitle'), :as => :string
= f.input :intro,   :wrapper => :ckeditor,  :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Mini', :height => 150} }, disabled: !@static_module.display_editable_field?('intro')
= f.input :content, :wrapper => :ckeditor,  :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 400} }, disabled: !@static_module.display_editable_field?('content')
= f.association :module_positions, :wrapper => :checkbox, :as => :check_boxes, disabled: !@static_module.display_editable_field?('module_positions')
= f.input :always_displayed, :wrapper => :active_checkbox, disabled: !@static_module.display_editable_field?('always_displayed')
= f.input :display_from, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_from", :value => (localize(f.object.display_from) if f.object.display_from) }, disabled: !@static_module.display_editable_field?('display_from')
= f.input :display_to, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_to", :value => (localize(f.object.display_to) if f.object.display_to) }, disabled: !@static_module.display_editable_field?('display_to')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mokio-2.0.8 app/views/mokio/static_modules/_form.html.slim