Sha256: da209190e0b40e81faecab55286cc79bd3fbb8ac6c16a9a937020204a05cb77e
Contents?: true
Size: 462 Bytes
Versions: 55
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # A form object used to create participatory space private users from the # admin dashboard. # class ParticipatorySpacePrivateUserForm < Form mimic :participatory_space_private_user attribute :name, String attribute :email, String validates :name, :email, presence: true validates :name, format: { with: UserBaseEntity::REGEXP_NAME } end end end
Version data entries
55 entries across 55 versions & 1 rubygems