diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 16:37:15 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 16:37:15 +0200 |
commit | 43df35213e80b9b7de69cc80f138882708a05b9b (patch) | |
tree | d3b70597b5172f0daf2b95e6cd4a48a7bc6d7b56 /app/views/shared | |
parent | 6f7c9774c776afeea0d98cbbd30483f4f0c6b938 (diff) |
Improving all forms
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: |