User login error fixed
This commit is contained in:
@@ -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 = ->
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user