Sha256: fc3366ff6456f1d062497cb9b119965bb4bace1ab68518f336a65cd30d8dc94b
Contents?: true
Size: 674 Bytes
Versions: 6
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true class Admin::Tramway::Page::PageForm < ::Tramway::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
6 entries across 6 versions & 1 rubygems