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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Hide cancel button in edit mode
Oliver Günther59b3534b4e37
diff --git a/modules/auth_saml/app/components/saml/providers/sections/form_component.html.erb b/modules/auth_saml/app/components/saml/providers/sections/form_component.html.erbindex 5115da16160..952ad7343cc 100644--- a/modules/auth_saml/app/components/saml/providers/sections/form_component.html.erb+++ b/modules/auth_saml/app/components/saml/providers/sections/form_component.html.erb@@ -31,7 +31,8 @@render(Saml::Providers::SubmitOrCancelForm.new(form,provider:,- submit_button_options: { label: button_label }+ submit_button_options: { label: button_label },+ cancel_button_options: { hidden: edit_mode }))endenddiff --git a/modules/auth_saml/app/components/saml/providers/sections/form_component.rb b/modules/auth_saml/app/components/saml/providers/sections/form_component.rbindex 07cabe0ad1f..b0b97c2ed33 100644--- a/modules/auth_saml/app/components/saml/providers/sections/form_component.rb+++ b/modules/auth_saml/app/components/saml/providers/sections/form_component.rb@@ -66,7 +66,7 @@ module Saml::Providers::Sectionsif edit_modeI18n.t(:button_continue)else- I18n.t(:button_save)+ I18n.t(:button_update)endendend