app/views/casino/sessions/new.html.erb in casino-1.0.0 vs app/views/casino/sessions/new.html.erb in casino-1.1.0
- old
+ new
@@ -1,11 +1,7 @@
<div class="container">
<div class="login box">
- <% flash.each do |name, msg| %>
- <% if msg.is_a?(String) %>
- <%= content_tag :div, msg, :id => "flash_#{name}" %>
- <% end %>
- <% end %>
+ <%= render 'messages' %>
<div class="logo">
<%= image_tag "logo.png" %>
</div>
<div class="form">