Sha256: f4522b031c9a36b5f1f11022cfe2e8a1e59b7eebf057b5bde983b126be773ef5
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
# frozen_string_literal: true class Admin::Tramway::Event::EventForm < ::Tramway::ApplicationForm properties :title, :description, :begin_date, :end_date, :photo, :reach, :request_collecting_begin_date, :request_collecting_end_date, :short_description def initialize(object) super(object).tap do form_properties title: :string, short_description: :text, description: :ckeditor, begin_date: :date_picker, end_date: :date_picker, request_collecting_begin_date: :date_picker, request_collecting_end_date: :date_picker, photo: :file, reach: :default end end end
Version data entries
3 entries across 3 versions & 1 rubygems