Sha256: 023aa0bee9b15afcdf9e8019fb4fb15812dcb6396061d7941cebef2d4d61a71d

Contents?: true

Size: 274 Bytes

Versions: 41

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    # A form object used to promote managed users from the admin dashboard.
    #
    class ManagedUserPromotionForm < Form
      attribute :email, String

      validates :email, presence: true
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
decidim-admin-0.11.2 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.11.1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.11.0.pre1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.10.1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.10.0 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.9.3 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.9.2 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.9.1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.9.0 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.8.4 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.8.3 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.8.2 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.8.1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.8.0 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.7.4 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.7.3 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.7.2 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.7.1 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.7.0 app/forms/decidim/admin/managed_user_promotion_form.rb
decidim-admin-0.6.8 app/forms/decidim/admin/managed_user_promotion_form.rb