fix useless notice at login
This commit is contained in:
parent
573c19ff4b
commit
72921d6dfd
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue