summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/layout.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout.erb b/views/layout.erb
index 9a357ff..4584662 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -7,7 +7,7 @@
<title>Påmeldingsskjema - Norsk Urskog Metal Sampler</title>
</head>
<body>
- <% if @band && @band.has_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>