Fix another "error_explanation" css class in guides [ci skip]
This commit is contained in:
parent
1238b5dc02
commit
7438e2fa83
@ -1,6 +1,6 @@
|
|||||||
<%= form_for @post do |f| %>
|
<%= form_for @post do |f| %>
|
||||||
<% if @post.errors.any? %>
|
<% if @post.errors.any? %>
|
||||||
<div id="errorExplanation">
|
<div id="error_explanation">
|
||||||
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
|
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
|
||||||
this post from being saved:</h2>
|
this post from being saved:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
@ -14,12 +14,12 @@
|
|||||||
<%= f.label :title %><br>
|
<%= f.label :title %><br>
|
||||||
<%= f.text_field :title %>
|
<%= f.text_field :title %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= f.label :text %><br>
|
<%= f.label :text %><br>
|
||||||
<%= f.text_area :text %>
|
<%= f.text_area :text %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= f.submit %>
|
<%= f.submit %>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user