From 43df35213e80b9b7de69cc80f138882708a05b9b Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 18 Oct 2016 16:37:15 +0200 Subject: Improving all forms --- app/views/shared/_error_messages.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/views/shared/_error_messages.html.haml (limited to 'app/views/shared') 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: -- cgit