Sha256: faae552f18575ab2f541a545b09fc86be0d5f7152b5271ef7109b9b4324158c5

Contents?: true

Size: 462 Bytes

Versions: 25

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    module Admin
      # A form object used to create participatory process types from the admin
      # dashboard.
      #
      class ParticipatoryProcessTypeForm < Form
        include TranslatableAttributes

        mimic :participatory_process_type

        translatable_attribute :title, String

        validates :title, translatable_presence: true
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.29.1 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.4 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.9 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.29.0 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.3 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.8 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.29.0.rc4 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.29.0.rc3 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.29.0.rc2 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.29.0.rc1 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.2 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.7 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.1 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.6 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.0 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.5 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.0.rc5 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.28.0.rc4 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.4 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb
decidim-participatory_processes-0.27.3 app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb