Skip to content
Browse files

change id="errorExplanation" to id="error_explanation" to match the g…

…enerated files
  • Loading branch information...
1 parent 7451bfc commit 1238b5dc02c46f6e774e4611f5c5715cf01ecca5 @lulezi lulezi committed with carlosantoniodasilva Jun 25, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 guides/source/getting_started.md
View
6 guides/source/getting_started.md
@@ -793,7 +793,7 @@ something went wrong. To do that, you'll modify
```html+erb
<%= form_for :post, url: posts_path do |f| %>
<% if @post.errors.any? %>
- <div id="errorExplanation">
+ <div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
this post from being saved:</h2>
<ul>
@@ -862,7 +862,7 @@ it look as follows:
<%= form_for :post, url: post_path(@post.id), method: :patch do |f| %>
<% if @post.errors.any? %>
- <div id="errorExplanation">
+ <div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
this post from being saved:</h2>
<ul>
@@ -977,7 +977,7 @@ content:
```html+erb
<%= form_for @post do |f| %>
<% if @post.errors.any? %>
- <div id="errorExplanation">
+ <div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
this post from being saved:</h2>
<ul>

0 comments on commit 1238b5d

Please sign in to comment.
Something went wrong with that request. Please try again.