@@ -793,7 +793,7 @@ something went wrong. To do that, you'll modify
793793``` html+erb
794794<%= form_for :post, url: posts_path do |f| %>
795795 <% if @post.errors.any? %>
796- <div id="errorExplanation ">
796+ <div id="error_explanation ">
797797 <h2><%= pluralize(@post.errors.count, "error") %> prohibited
798798 this post from being saved:</h2>
799799 <ul>
@@ -862,7 +862,7 @@ it look as follows:
862862
863863<%= form_for :post, url: post_path(@post.id), method: :patch do |f| %>
864864 <% if @post.errors.any? %>
865- <div id="errorExplanation ">
865+ <div id="error_explanation ">
866866 <h2><%= pluralize(@post.errors.count, "error") %> prohibited
867867 this post from being saved:</h2>
868868 <ul>
@@ -977,7 +977,7 @@ content:
977977``` html+erb
978978<%= form_for @post do |f| %>
979979 <% if @post.errors.any? %>
980- <div id="errorExplanation ">
980+ <div id="error_explanation ">
981981 <h2><%= pluralize(@post.errors.count, "error") %> prohibited
982982 this post from being saved:</h2>
983983 <ul>
0 commit comments