Sha256: 82e0cde0a92d3ea21dad983386c028a8671a1910ded92c099b5568f1b3cb329b
Contents?: true
Size: 329 Bytes
Versions: 2
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true module Decidim module DecidimAwesome class EditorImageForm < Decidim::Form mimic :editor_image attribute :image attribute :author_id, Integer attribute :path, String validates :author_id, presence: true validates :image, presence: true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-decidim_awesome-0.6.0 | app/forms/decidim/decidim_awesome/editor_image_form.rb |
decidim-decidim_awesome-0.5.1 | app/forms/decidim/decidim_awesome/editor_image_form.rb |