<% if @error %>

<%== @error %>

<% end %> <% if flash.keys.length > 0 %>

<% flash.keys.each do |key| %> <%== flash[key] %> <% end %>

<% end %>