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.9.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.9 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.8.2 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.8.1 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.8 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.7 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.6.4 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.6.3 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.6.2 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.6 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.5 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.4 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.10 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.9 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.8 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.7 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.6 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.5 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.4 app/forms/admin/tramway/event/action_form.rb
tramway-event-1.12.3.3 app/forms/admin/tramway/event/action_form.rb