Improving all forms
This commit is contained in:
6
app/views/shared/_error_messages.html.haml
Normal file
6
app/views/shared/_error_messages.html.haml
Normal file
@ -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:
|
Reference in New Issue
Block a user