Sha256: 7a6eabf1e31ba2a83973153655abb88691f70d758ff7ca92c99ede8645701bff

Contents?: true

Size: 660 Bytes

Versions: 25

Compression:

Stored size: 660 Bytes

Contents

class Tramway::Event::EventForm < ::Tramway::Core::ApplicationForm
  properties :title, :description, :begin_date, :end_date, :photo, :status,
    :request_collecting_begin_date, :request_collecting_end_date

  def initialize(object)
    form_object = super object
    form_properties title: :string,
                    description: :ckeditor,
                    begin_date: :date_picker,
                    end_date: :date_picker,
                    request_collecting_begin_date: :date_picker,
                    request_collecting_end_date: :date_picker,
                    photo: :file,
                    status: :default
    form_object
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
tramway-event-1.9.10 app/forms/tramway/event/event_form.rb
tramway-event-1.9.9.2 app/forms/tramway/event/event_form.rb
tramway-event-1.9.9.1 app/forms/tramway/event/event_form.rb
tramway-event-1.9.9 app/forms/tramway/event/event_form.rb
tramway-event-1.9.8 app/forms/tramway/event/event_form.rb
tramway-event-1.9.7 app/forms/tramway/event/event_form.rb
tramway-event-1.9.6 app/forms/tramway/event/event_form.rb
tramway-event-1.9.5 app/forms/tramway/event/event_form.rb
tramway-event-1.9.4 app/forms/tramway/event/event_form.rb
tramway-event-1.9.3 app/forms/tramway/event/event_form.rb
tramway-event-1.9.2 app/forms/tramway/event/event_form.rb
tramway-event-1.9.1 app/forms/tramway/event/event_form.rb
tramway-event-1.9 app/forms/tramway/event/event_form.rb
tramway-event-1.8.10 app/forms/tramway/event/event_form.rb
tramway-event-1.8.9 app/forms/tramway/event/event_form.rb
tramway-event-1.8.8 app/forms/tramway/event/event_form.rb
tramway-event-1.8.7 app/forms/tramway/event/event_form.rb
tramway-event-1.8.6 app/forms/tramway/event/event_form.rb
tramway-event-1.8.5 app/forms/tramway/event/event_form.rb
tramway-event-1.8.4 app/forms/tramway/event/event_form.rb