Sha256: 1d07b313ee07cb076bd97c98edca8cb2e74a283fb86a7b383dac892ad4a9ead1
Contents?: true
Size: 548 Bytes
Versions: 14
Compression:
Stored size: 548 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? end end end end
Version data entries
14 entries across 14 versions & 1 rubygems