Skip to content

Commit 1238b5d

Browse files
lulezicarlosantoniodasilva
authored andcommitted
change id="errorExplanation" to id="error_explanation" to match the generated files
1 parent 7451bfc commit 1238b5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/source/getting_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)