User login error fixed

This commit is contained in:
G0dwin
2014-05-17 18:20:13 -06:00
parent e5bf3f5a5c
commit 20c9791f52
9 changed files with 843 additions and 2863 deletions
@@ -1,5 +1,5 @@
- # we should render errors here
- if @record.errors.any?
- if @record && @record.errors.any?
.form-errors
%ul
- @record.errors.full_messages.each do |msg|