Remove class 'error' in devise forms

This commit is contained in:
Christophe Vilayphiou 2012-02-29 04:56:32 +08:00
parent 4b7b57bb3d
commit 344ec86c57
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<%= devise_error_messages! %>
<div class="content">
<div class="main">
<div class="control-group error">
<div class="control-group clear">
<%= f.label :email %>
<%= f.email_field :email, :placeholder => t(:email), :style => "width: 330px;" %>
<span class="help-inline">Please correct the error</span>

View File

@ -8,7 +8,7 @@
<p class="notice hide">Notice</p>
<p class="alert hide">You need to sign in or sign up before continuing.</p>
<div class="main">
<div class="control-group error">
<div class="control-group clear">
<%= f.label :email %>
<%= f.email_field :email, :placeholder => t(:email), :style => "width: 330px;" %>
<span class="help-inline">Please correct the error</span>