Change for the notice msg at login page

This commit is contained in:
Matthew K. Fu JuYuan 2012-04-25 16:51:47 +08:00 committed by Christophe Vilayphiou
parent 851dc72f42
commit 9d97b7c008
1 changed files with 3 additions and 3 deletions

View File

@ -3,11 +3,11 @@
<h3><%= t(:login) %></h3>
</div>
<div id="container" class="sign-in">
<%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
<div class="content">
<% flash.each do |key, msg| %>
<%= content_tag :span, msg, :class => [key, "notice label label-warning"] %>
<% end%>
<%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
<div class="content">
<p class="alert hide">You need to sign in or sign up before continuing.</p>
<div class="main">
<div class="control-group clear">