Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -# insert at top of _movie_form.html.haml
- - unless @movie.errors.empty?
- #warning
- Errors prevented this movie from being #{controller.action_name}d:
- %ul
- - @movie.errors.full_messages.each do |error|
- %li= error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement