Sha256: 43051b22e6d330297e471d80fd10a10c0c35371d1f0c7b0afe98ccdbd8ab853f

Contents?: true

Size: 335 Bytes

Versions: 94

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Proposals
    module Admin
      # A form object to be used when admin users want to create a proposal.
      class ProposalNoteForm < Decidim::Form
        mimic :proposal_note

        attribute :body, String

        validates :body, presence: true
      end
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
decidim-proposals-0.26.8 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.4 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.3 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.7 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.5 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.4 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.0 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.3 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.0.rc2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.0.rc1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.0 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.0.rc2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.0.rc1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.25.2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.25.1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.25.0 app/forms/decidim/proposals/admin/proposal_note_form.rb