fixes #1164
This commit is contained in:
@@ -56,11 +56,10 @@
|
||||
<%= render "users/tos" %>
|
||||
<% end %>
|
||||
|
||||
<%- if flash[:notice] -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice"><%= flash[:notice] %></div>
|
||||
<%- else -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice" style="display: none;"></div>
|
||||
<%- end -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice" style="<%= "display: none;" unless flash[:notice] %>">
|
||||
<span><%= flash[:notice] %></span>
|
||||
<a href="#" id="close-notice-link">close</a>
|
||||
</div>
|
||||
|
||||
<%= yield :layout %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user