Sha256: 33c649b6ac28904b6ab624cf4af2708156f8c74ce2cc34f7e4fd87ba033ea3f0

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Amendable
    # A form object used to reject emendations
    class RejectForm < Decidim::Amendable::Form
      mimic :reject_amend

      attribute :id, String

      validates :id, presence: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.17.2 app/forms/decidim/amendable/reject_form.rb
decidim-core-0.17.1 app/forms/decidim/amendable/reject_form.rb
decidim-core-0.16.1 app/forms/decidim/amendable/reject_form.rb
decidim-core-0.17.0 app/forms/decidim/amendable/reject_form.rb
decidim-core-0.16.0 app/forms/decidim/amendable/reject_form.rb