From 7438e2fa83b7a9185f4814ddd0f7eab2183c142d Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 25 Jun 2013 19:06:15 -0300 Subject: Fix another "error_explanation" css class in guides [ci skip] --- guides/code/getting_started/app/views/posts/_form.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'guides') diff --git a/guides/code/getting_started/app/views/posts/_form.html.erb b/guides/code/getting_started/app/views/posts/_form.html.erb index c9fb74af9c..f2f83585e1 100644 --- a/guides/code/getting_started/app/views/posts/_form.html.erb +++ b/guides/code/getting_started/app/views/posts/_form.html.erb @@ -1,6 +1,6 @@ <%= form_for @post do |f| %> <% if @post.errors.any? %> -
+

<%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:

    @@ -14,12 +14,12 @@ <%= f.label :title %>
    <%= f.text_field :title %>

    - +

    <%= f.label :text %>
    <%= f.text_area :text %>

    - +

    <%= f.submit %>

    -- cgit v1.2.3