Sha256: 631db833bd5ff8c62d7e1953a0b47e7408ffa0985e5191f529464cf9bfc7c7fa
Contents?: true
Size: 680 Bytes
Versions: 18
Compression:
Stored size: 680 Bytes
Contents
# frozen_string_literal: true class Admin::Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm properties :title, :body, :slug, :view, :page_type, :view_state_event def initialize(object) super(object).tap do form_properties title: :string, page_type: { type: :default, input_options: { hint: 'View field will be ignored in Landing page type. You will configurate it with Blocks' } }, body: :ckeditor, slug: :string, view: :string end end end
Version data entries
18 entries across 18 versions & 1 rubygems