Sha256: e3cdd02503b146ede827e6d41483ecd029b1a0db873d87bd48c9af56aa0189bb

Contents?: true

Size: 761 Bytes

Versions: 4

Compression:

Stored size: 761 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module DecidimAwesome
    module Admin
      # A form object used to configure the endpoint.
      #
      class ConfigForm < Decidim::Form
        attribute :allow_images_in_full_editor, Boolean
        attribute :allow_images_in_small_editor, Boolean
        attribute :allow_images_in_proposals, Boolean
        attribute :use_markdown_editor, Boolean
        attribute :allow_images_in_markdown_editor, Boolean
        attribute :auto_save_forms, Boolean
        attribute :intergram_for_admins, Boolean
        attribute :intergram_for_admins_settings, IntergramForm
        attribute :intergram_for_public, Boolean
        attribute :intergram_for_public_settings, IntergramForm
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.6.2 app/forms/decidim/decidim_awesome/admin/config_form.rb
decidim-decidim_awesome-0.6.1 app/forms/decidim/decidim_awesome/admin/config_form.rb
decidim-decidim_awesome-0.6.0 app/forms/decidim/decidim_awesome/admin/config_form.rb
decidim-decidim_awesome-0.5.1 app/forms/decidim/decidim_awesome/admin/config_form.rb