Sha256: f9367a723d780c28f366bb07b7d90138ec2462050ebeaeaf9c97e96dfd60510e
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 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: "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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tramway-page-1.4.2 | app/forms/admin/tramway/page/page_form.rb |
tramway-page-1.4.1.1 | app/forms/admin/tramway/page/page_form.rb |
tramway-page-1.4.1 | app/forms/admin/tramway/page/page_form.rb |