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.29.1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.4 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.9 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.29.0 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.3 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.8 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.29.0.rc4 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.29.0.rc3 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.29.0.rc2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.29.0.rc1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.2 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.7 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.1 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.6 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.10 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.26.9 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.0 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.27.5 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.0.rc5 app/forms/decidim/proposals/admin/proposal_note_form.rb
decidim-proposals-0.28.0.rc4 app/forms/decidim/proposals/admin/proposal_note_form.rb