Sha256: d3c61608b824f29123035b5486a1299bd6f0c7c689cad6e4eaa58abc15ad9019
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true class Admin::Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-page-1.4 | app/forms/admin/tramway/page/page_form.rb |