Skip to content

Commit

Permalink
Merge pull request #17421 from opf/bug/59978-form-buttons-are-left-al…
Browse files Browse the repository at this point in the history
…igned-and-not-right-aligned-in-hierarchy-items-form

[#59978] align form buttons to right side
  • Loading branch information
Kharonus authored Dec 10, 2024
2 parents cde214e + c5cab9f commit 704dd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/forms/custom_fields/hierarchy/item_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ItemForm < ApplicationForm
)
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),
Expand Down

0 comments on commit 704dd7e

Please sign in to comment.