Class: Admin::Tramway::Page::PageForm
- Inherits:
-
Tramway::Core::ApplicationForm
- Object
- Tramway::Core::ApplicationForm
- Admin::Tramway::Page::PageForm
- Defined in:
- app/forms/admin/tramway/page/page_form.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ PageForm
constructor
A new instance of PageForm.
Constructor Details
#initialize(object) ⇒ PageForm
Returns a new instance of PageForm.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/forms/admin/tramway/page/page_form.rb', line 6 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 |