From 344ec86c571a777c080ec0d3847e9f8e82eb0700 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Wed, 29 Feb 2012 04:56:32 +0800 Subject: [PATCH] Remove class 'error' in devise forms --- app/views/devise/passwords/new.html.erb | 2 +- app/views/devise/sessions/new.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index dd31973b..00ac2cd0 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -7,7 +7,7 @@ <%= devise_error_messages! %>
-
+
<%= f.label :email %> <%= f.email_field :email, :placeholder => t(:email), :style => "width: 330px;" %> Please correct the error diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 738e2645..ed99a69f 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -8,7 +8,7 @@

Notice

You need to sign in or sign up before continuing.

-
+
<%= f.label :email %> <%= f.email_field :email, :placeholder => t(:email), :style => "width: 330px;" %> Please correct the error