magicbug/Cloudlog — pull request #133 by skweeker (2013-03-30 13:04:01+00:00)
Title: Improving error message displays

So there are a few places in the application where we set flash data to display an error message to the user, but there's nothing in the view to actually display those messages. What I've done is created a partial view which will display these errors in the fancybox. I've also updated a couple of views to use this, and it's working well. For example, now I get to see the message that says my username or password is incorrect, instead of just a blank login screen.

Ideally, I think most views should have the messages partial view loaded right after the page title. That way, as we add flash data messages to controllers, the views are already able to use them.