summaryrefslogtreecommitdiff
path: root/app/views/common
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-04 19:44:16 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-04 19:44:16 -0500
commit55388be92289d8d6ba47ec87f97dfed8d2e3c0de (patch)
treef87085fe06ba51ed6af29a88ab7bb6891149731a /app/views/common
parent1dfd009575445fd021dd8532f8ef3e5a17e4a594 (diff)
some error styling
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_error_messages.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/common/_error_messages.html.erb b/app/views/common/_error_messages.html.erb
index c9fdd51..731f62c 100644
--- a/app/views/common/_error_messages.html.erb
+++ b/app/views/common/_error_messages.html.erb
@@ -1,7 +1,7 @@
<%# http://railscasts.com/episodes/211-validations-in-rails-3 %>
<% if target.errors.any? %>
<div id="errorExplanation">
- <h2><%= pluralize(target.errors.count, "error") %> prohibited this record from being saved:</h2>
+ <h2><%= pluralize(target.errors.count, "error") %> prohibited this form from being submitted:</h2>
<ul>
<% target.errors.full_messages.each do |msg| %>
<li><%= msg %></li>