Fix handling form errors.
This commit is contained in:
parent
c1ffee4e65
commit
7978f8dd2b
4 changed files with 68 additions and 21 deletions
3
app/views/notes/_form_errors.html.haml
Normal file
3
app/views/notes/_form_errors.html.haml
Normal file
|
@ -0,0 +1,3 @@
|
|||
.error_message.js-errors
|
||||
- note.errors.full_messages.each do |msg|
|
||||
%div= msg
|
Loading…
Add table
Add a link
Reference in a new issue