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

[#59978] align form buttons to right side

Eric Schubertc5cab9f3ad86
diff --git a/app/forms/custom_fields/hierarchy/item_form.rb b/app/forms/custom_fields/hierarchy/item_form.rb
index 50f9d41e852..be2e5185feb 100644
--- a/app/forms/custom_fields/hierarchy/item_form.rb
+++ b/app/forms/custom_fields/hierarchy/item_form.rb
@@ -56,7 +56,7 @@ module CustomFields
)
end
- item_form.group(layout: :horizontal) do |button_group|
+ item_form.group(layout: :horizontal, align_self: :end) do |button_group|
button_group.button(name: :cancel,
tag: :a,
label: I18n.t(:button_cancel),