Sha256: a5c8e57318e7411362c76e7fe1e903e1e8d1cab25a71f89570cd3cd9eee566d4

Contents?: true

Size: 337 Bytes

Versions: 50

Compression:

Stored size: 337 Bytes

Contents

class ActionView::Helpers::FormBuilder
  def editor(field, language='dynamic', options={})
    text_area field, {class: 'form-control editor',
                      data: {placeholder: I18n.t(:editor_placeholder),
                             'editor-language' => language},
                      rows: 15}.deep_merge(options)
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
mumuki-laboratory-6.1.5 config/initializers/form_builder.rb
mumuki-laboratory-6.0.4 config/initializers/form_builder.rb
mumuki-laboratory-6.1.4 config/initializers/form_builder.rb
mumuki-laboratory-6.1.3 config/initializers/form_builder.rb
mumuki-laboratory-6.0.3 config/initializers/form_builder.rb
mumuki-laboratory-6.1.2 config/initializers/form_builder.rb
mumuki-laboratory-6.1.1 config/initializers/form_builder.rb
mumuki-laboratory-6.1.0 config/initializers/form_builder.rb
mumuki-laboratory-6.0.2 config/initializers/form_builder.rb
mumuki-laboratory-6.0.1 config/initializers/form_builder.rb
mumuki-laboratory-6.0.0 config/initializers/form_builder.rb
mumuki-laboratory-5.13.0 config/initializers/form_builder.rb
mumuki-laboratory-5.12.1 config/initializers/form_builder.rb
mumuki-laboratory-5.12.0 config/initializers/form_builder.rb
mumuki-laboratory-5.11.0 config/initializers/form_builder.rb
mumuki-laboratory-5.10.4 config/initializers/form_builder.rb
mumuki-laboratory-5.10.3 config/initializers/form_builder.rb
mumuki-laboratory-5.10.2 config/initializers/form_builder.rb
mumuki-laboratory-5.10.1 config/initializers/form_builder.rb
mumuki-laboratory-5.10.0 config/initializers/form_builder.rb