Sha256: c4f346c89c33351007409f7a4c75e01b724bce9984b9f0de3d8778de5fe92a53

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

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

  def initialize(object)
    super(object).tap do
      form_properties title: :string,
        body: :ckeditor,
        slug: :string,
        view: :string
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-page-1.3 app/forms/tramway/page/page_form.rb