Sha256: 3a277e67adb636cbffcc83eb5f915e3ca124c91a850d9d807053502f576cee1a
Contents?: true
Size: 452 Bytes
Versions: 12
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true module Decidim module DecidimAwesome class EditorImageForm < Decidim::Form mimic :editor_image attribute :file attribute :author_id, Integer attribute :path, String validates :author_id, presence: true validates :file, presence: true validates :file, passthru: { to: Decidim::DecidimAwesome::EditorImage } alias organization current_organization end end end
Version data entries
12 entries across 12 versions & 1 rubygems