summaryrefslogtreecommitdiffstats
path: root/views/layout.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout.erb')
-rw-r--r--views/layout.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout.erb b/views/layout.erb
index 8dd0c31..eb1d803 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -8,7 +8,7 @@
<title>Norsk Urskog 2015 - Påmeldingsskjema for band</title>
</head>
<body>
- <% if @band && @band.errors %>
+ <% if @band && @band.has_errors %>
<div class="error">
<h1 class="error-heading">Det er feil i skjemaet!</h1>
<p>Vennligst se over følgende og prøv igjen:</p>