app/forms/admin/tramway/event/action_form.rb in tramway-event-1.11.0.1 vs app/forms/admin/tramway/event/action_form.rb in tramway-event-1.11.1
- old
+ new
@@ -1,13 +1,15 @@
+# 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
+ title: :string,
+ deadline: :date_picker
end
end
end