Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Include the FormHelpers to solve the error.

Dombi Attilacfb6b2e059e5
diff --git a/app/components/projects/life_cycle_step_definitions/form_component.rb b/app/components/projects/life_cycle_step_definitions/form_component.rb
index 842bea0270f..1e0236fee7e 100644
--- a/app/components/projects/life_cycle_step_definitions/form_component.rb
+++ b/app/components/projects/life_cycle_step_definitions/form_component.rb
@@ -30,6 +30,7 @@
module Projects::LifeCycleStepDefinitions
class FormComponent < ApplicationComponent
include OpPrimer::ComponentHelpers
+ include OpPrimer::FormHelpers
def selected?(tabname)
tabname == if no_errors || details_tab_errors.any?