Remove unused #error_explanation id from error partials (#27536)

This commit is contained in:
Matt Jankowski 2023-10-25 03:12:32 -04:00 committed by GitHub
parent cb92cdf9af
commit cec7f0ed72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 10 deletions

View file

@ -1,3 +1,3 @@
.form-container
.flash-message#error_explanation
.flash-message
= @pre_auth.error_response.body[:error_description]

View file

@ -1,5 +1,5 @@
- if object.errors.any?
.flash-message.alert#error_explanation
.flash-message.alert
%strong= t('generic.validation_errors', count: object.errors.count)
- object.errors[:base].each do |error|
.flash-message.alert