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