about summary refs log tree commit diff
path: root/app/views/shared
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-10 10:25:52 +0100
committerGitHub <noreply@github.com>2020-12-10 10:25:52 +0100
commitcbe9b0640ba4d466c8b24fb233dff60e9f8d00f0 (patch)
tree4e814a622966f1b71f18c1ff41116c75f0728afc /app/views/shared
parentb27d11dd3320cb005561f0bb1b81baecea8a7c43 (diff)
parent9a5825f864b9e9c545e995249518bb50a74f4359 (diff)
Merge pull request #1473 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_error_messages.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/_error_messages.html.haml b/app/views/shared/_error_messages.html.haml
index 28becd6c4..4916bd424 100644
--- a/app/views/shared/_error_messages.html.haml
+++ b/app/views/shared/_error_messages.html.haml
@@ -1,3 +1,6 @@
 - if object.errors.any?
   .flash-message.alert#error_explanation
     %strong= t('generic.validation_errors', count: object.errors.count)
+- object.errors[:base].each do |error|
+  .flash-message.alert
+    %strong= error