Sha256: 89138daa40186dc5d69c0598a7ff0e9e91f245312c0ce1a60573bf333fc0994b

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

class Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm
  properties :title, :body, :slug

  def initialize(object)
    form_object = super object
    form_properties title: :string,
                    body: :ckeditor,
                    slug: :string
    form_object
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tramway-page-1.2.2 app/forms/tramway/page/page_form.rb
tramway-page-1.2.1 app/forms/tramway/page/page_form.rb
tramway-page-1.2 app/forms/tramway/page/page_form.rb
tramway-page-1.1 app/forms/tramway/page/page_form.rb