Sha256: 5e02d8305c8dd93e0cbb39abab21d27253e8def1eff0da9f3cc2362b755ed096

Contents?: true

Size: 342 Bytes

Versions: 66

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    class SelectiveNewsletterParticipatorySpaceTypeForm < Form
      attribute :manifest_name, String
      attribute :ids, Array

      def map_model(model_hash)
        manifest = model_hash[:manifest]

        self.manifest_name = manifest.name.to_s
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
decidim-admin-0.29.1 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.4 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.27.9 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.29.0 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.3 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.27.8 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.29.0.rc4 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.29.0.rc3 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.29.0.rc2 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.29.0.rc1 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.2 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.27.7 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.1 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.27.6 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.26.10 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.26.9 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.0 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.27.5 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.0.rc5 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb
decidim-admin-0.28.0.rc4 app/forms/decidim/admin/selective_newsletter_participatory_space_type_form.rb