From b8e54bf0c14590cb2ac3a0f8c92350b064d6ec11 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Wed, 25 Apr 2012 16:51:47 +0800 Subject: [PATCH] Change for the notice msg at login page --- app/views/devise/sessions/new.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 96840bf5..6861da46 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -3,11 +3,11 @@

<%= t(:login) %>

- <% flash.each do |key, msg| %> - <%= content_tag :spen, msg, :class => [key, "notice label label-warning"] %> - <% end%> <%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
+ <% flash.each do |key, msg| %> + <%= content_tag :span, msg, :class => [key, "notice label label-warning"] %> + <% end%>

You need to sign in or sign up before continuing.