<% if @errors %>
  <% @errors.full_messages.each do |e| %>
  <p><%= e %></p>
  <% end %>
<% end %>

<% if @errors %>
  <% @errors.full_messages.each do |e| %>
  <div class="error"><%= e %></div>
  <% end %>
<% end %>

Add class to errors for styling
Add class to errors for styling
