Sha256: d0f71f9b806ff9a6bf8b08ff230029ddee22434dbe42e664b1e440c4b41a81b6

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

class Admin::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

2 entries across 2 versions & 1 rubygems

Version Path
tramway-page-1.3.1.2 app/forms/admin/tramway/page/page_form.rb
tramway-page-1.3.1.1 app/forms/admin/tramway/page/page_form.rb