Sha256: 639dea2bddb1f903866cf5a6a598100132e1de4e195b14bcfc15d176bd0e0736
Contents?: true
Size: 634 Bytes
Versions: 37
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true class Admin::Tramway::Event::EventForm < ::Tramway::Core::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
37 entries across 37 versions & 1 rubygems