diff options
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_error_messages.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/shared/_error_messages.html.haml b/app/views/shared/_error_messages.html.haml new file mode 100644 index 000000000..269365359 --- /dev/null +++ b/app/views/shared/_error_messages.html.haml @@ -0,0 +1,6 @@ +- if object.errors.any? + .flash-message#error_explanation + %strong + Something isn't quite right yet! Please review + = pluralize(object.errors.count, 'error') + below: |