app/forms/admin/tramway/page/page_form.rb in tramway-page-1.3.1.2 vs app/forms/admin/tramway/page/page_form.rb in tramway-page-1.4

- old
+ new

@@ -1,12 +1,18 @@ # frozen_string_literal: true class Admin::Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm - properties :title, :body, :slug, :view + properties :title, :body, :slug, :view, :page_type def initialize(object) super(object).tap do form_properties title: :string, + page_type: { + type: :default, + input_options: { + hint: "Body and View fields will be ignored in Landing page type. You will configurate it with Blocks" + } + }, body: :ckeditor, slug: :string, view: :string end end