<!DOCTYPE html>
<html>
<head>
  <title>LottifyMe</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <%= render partial: "/layouts/navigation", locals: {user: @user }%>
</head>
<body>

<%= yield %>

</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title>LottifyMe</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <%= render partial: "/layouts/navigation", locals: {user: @user }%>
</head>
<body>
  <% if flash[:error] %>
    <div class='error_message'><%= flash[:error] %></div>
  <% end %>

<%= yield %>

</body>
</html>

Add div to show messages on layout
Add div to show messages on layout
