Sha256: 0491ddf18023b26f160f09fa739c392167cdd7ea9f91767bf537ca04f37e7eb6

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Notify
    module Admin
      class ChapterForm < Decidim::Form
        attribute :title, String
        attribute :active, Boolean

        validates :title, presence: true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-notify-0.5 app/forms/decidim/notify/admin/chapter_form.rb
decidim-notify-0.4 app/forms/decidim/notify/admin/chapter_form.rb
decidim-notify-0.3 app/forms/decidim/notify/admin/chapter_form.rb