Sha256: fec337d2939f452ec98ad7aa4acd6c828b5e1a35f0a3f771f96a083d8eeb4e28

Contents?: true

Size: 373 Bytes

Versions: 35

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::Event::ActionForm < Tramway::Core::ApplicationForm
  properties :title, :action_state_event, :deadline

  association :event

  def initialize(object)
    super(object).tap do
      form_properties event: :association,
                      title: :string,
                      deadline: :date_picker
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
tramway-event-1.12.3.2 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.2 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.1.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.0.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.5.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.5 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.4.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.4 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.2.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.2 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.11.1 app/forms/admin/tramway/event/action_form.rb