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
parent cb3c3a14a8
commit b8e54bf0c1
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">
<% 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| %>
<div class="content">
<% flash.each do |key, msg| %>
<%= content_tag :span, msg, :class => [key, "notice label label-warning"] %>
<% end%>
<p class="alert hide">You need to sign in or sign up before continuing.</p>
<div class="main">
<div class="control-group clear">