fix useless notice at login

This commit is contained in:
Matthew K. Fu JuYuan 2012-04-25 10:55:49 +08:00
parent d0ced39c74
commit 3f2643bb66
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