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

fix enterprise banner for calculated_values form

Ivan Kuchin272aed820c25
diff --git a/app/components/admin/custom_fields/calculated_values/details_component.html.erb b/app/components/admin/custom_fields/calculated_values/details_component.html.erb
index 8ea5aea4fa4..f2c7bc22106 100644
--- a/app/components/admin/custom_fields/calculated_values/details_component.html.erb
+++ b/app/components/admin/custom_fields/calculated_values/details_component.html.erb
@@ -28,8 +28,8 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
- component_wrapper do
- with_enterprise_banner_guard(:calculated_values, variant: :large, image: "enterprise/calculated-values.png") do
+ with_enterprise_banner_guard(:calculated_values, variant: :large, image: "enterprise/calculated-values.png") do
+ component_wrapper do
settings_primer_form_with(
model:,
scope: :custom_field,