Skip to content

Commit

Permalink
Merge pull request #16790 from opf/bug/57985-meeting-details-concurre…
Browse files Browse the repository at this point in the history
…nt-error-message-is-unclear-and-badly-positioned

[#57985] Meeting details concurrent error message is unclear and badly positioned
  • Loading branch information
oliverguenther authored Sep 24, 2024
2 parents 93a1e68 + 04ea85c commit 05ba624
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,8 @@ en:
name:
blank: "is mandatory. Please select a name."
not_unique: "is already in use. Please select another name."
meeting:
error_conflict: "Unable to save because the meeting was updated by someone else in the meantime. Please reload the page."
notifications:
at_least_one_channel: "At least one channel for sending notifications needs to be specified."
attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
) do |f|
component_collection do |collection|
collection.with_component(Primer::Alpha::Dialog::Body.new) do
flex_layout(my: 3) do |modal_body|
flex_layout(mb: 3) do |modal_body|
modal_body.with_row do
render(BaseErrorsComponent.new(@meeting))
end

modal_body.with_row do
modal_body.with_row(mt: 3) do
render(Meeting::StartDate.new(f, initial_value: start_date_initial_value))
end

Expand Down

0 comments on commit 05ba624

Please sign in to comment.