Sha256: 02d4bf52e4e390bff5c707a2d92ee0258faeeeae5ecf7ca52a7e70b57be92ea1
Contents?: true
Size: 596 Bytes
Versions: 19
Compression:
Stored size: 596 Bytes
Contents
# frozen_string_literal: true module Decidim module Verifications module IdDocuments # A form object to be used when public users want to get verified by # uploading their identity documents. class UploadForm < InformationForm mimic :id_document_upload attribute :verification_attachment, String validates :verification_attachment, passthru: { to: Decidim::Authorization }, presence: true, if: :uses_online_method? alias organization current_organization end end end end
Version data entries
19 entries across 19 versions & 1 rubygems