fix useless notice at login

This commit is contained in:
Matthew K. Fu JuYuan 2012-04-25 10:55:49 +08:00 committed by Christophe Vilayphiou
parent 573c19ff4b
commit 72921d6dfd
1 changed files with 3 additions and 2 deletions

View File

@ -3,9 +3,11 @@
<h3><%= t(:login) %></h3> <h3><%= t(:login) %></h3>
</div> </div>
<div id="container" class="sign-in"> <div id="container" class="sign-in">
<% 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| %> <%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
<div class="content"> <div class="content">
<p class="notice label label-warning">Notice</p>
<p class="alert hide">You need to sign in or sign up before continuing.</p> <p class="alert hide">You need to sign in or sign up before continuing.</p>
<div class="main"> <div class="main">
<div class="control-group clear"> <div class="control-group clear">
@ -34,4 +36,3 @@
</div> </div>
asdaskljh;ufdshu;fdsijo;dklsfij;jsfijsflijwjiijpv'jpifjpifwepjif