Sha256: a627186fcb574e990167aac2eb4929e5d13d84e91c0fd84202696a2a96174e08

Contents?: true

Size: 618 Bytes

Versions: 50

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    # A form object used to transfer conflicted users from the admin dashboard.
    #
    # This form will contain a dynamic attribute for the user authorization.
    # This authorization will be selected by the admin user if more than one exists.
    class TransferUserForm < Form
      attribute :email, String
      attribute :reason, String
      attribute :current_user, Decidim::User
      attribute :conflict, Decidim::Verifications::Conflict

      validates :current_user, presence: true
      validates :conflict, presence: true
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
decidim-admin-0.26.8 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.4 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.3 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.7 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.5 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.2 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.1 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.4 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.0 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.3 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.0.rc2 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.27.0.rc1 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.2 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.1 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.0 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.0.rc2 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.26.0.rc1 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.25.2 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.25.1 app/forms/decidim/admin/transfer_user_form.rb
decidim-admin-0.25.0 app/forms/decidim/admin/transfer_user_form.rb