From d819ba5867424624503575b3283a0948b2df4f75 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Mon, 15 Dec 2014 16:24:22 -0200 Subject: [PATCH] Form errors updated to kalibro_client --- app/views/shared/_form_errors.html.erb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/views/shared/_form_errors.html.erb b/app/views/shared/_form_errors.html.erb index f565f5a..7fd9f19 100644 --- a/app/views/shared/_form_errors.html.erb +++ b/app/views/shared/_form_errors.html.erb @@ -1,15 +1,11 @@ -<% if object.errors.any? || object.kalibro_errors.any? %> +<% if object.errors.any? %>
-

<%= pluralize(object.errors.count + object.kalibro_errors.count, "error") %> prohibited this <%= object.class.to_s %> from being saved:

+

<%= pluralize(object.errors.count, "error") %> prohibited this <%= object.class.to_s %> from being saved:

<% end %> \ No newline at end of file -- libgit2 0.21.2