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
@@ -12,14 +12,9 @@
# require jquery_nested_form
# I18n
#= require i18n
#= require i18n/translations
'use strict'
I18n.defaultLocale = '<%= I18n.default_locale %>'
I18n.locale = $('html').attr 'lang'
try Typekit.load() catch
startSpinner = ->
-3
View File
@@ -1,6 +1,3 @@
require 'rubygems'
require 'ruby_drupal_hash'
include ApplicationHelper
class PagesController < ApplicationController
@@ -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|