Sha256: 0aa934d0124f905a0d905684c90b31477938b186c0861406256b00ba46b49b17
Contents?: true
Size: 584 Bytes
Versions: 62
Compression:
Stored size: 584 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives module Admin # A form object used to collect the all the scopes related to an # initiative type class InitiativeTypeScopeForm < Form mimic :initiatives_type_scope attribute :supports_required, Integer attribute :decidim_scopes_id, Integer validates :supports_required, presence: true, numericality: { only_integer: true, greater_than: 0 } end end end end
Version data entries
62 entries across 62 versions & 1 rubygems