Sha256: d0d2e2f1bd23af4fb0ddbb9cfa2f67d34d96d242c9abd870f2416c125b631ad8
Contents?: true
Size: 306 Bytes
Versions: 122
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true module Decidim # A form object to be used when public users want to report a reportable. class ReportForm < Decidim::Form mimic :report attribute :reason, String attribute :details, String validates :reason, inclusion: { in: Report::REASONS } end end
Version data entries
122 entries across 122 versions & 2 rubygems