Skip to content

Commit b176891

Browse files
committed
[fix] Hide empty disclaimer message on register page
1 parent 4dcff2b commit b176891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/devise/registrations/new.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Register for
55
%span.emphasized= HackathonConfig['name']
66

7-
- if HackathonConfig['registration_is_open'] || HackathonConfig['disclaimer_message'].present?
7+
- if !HackathonConfig['registration_is_open'] || HackathonConfig['disclaimer_message'].present?
88
#disclaimer
9-
- unless HackathonConfig['registration_is_open']
9+
- if !HackathonConfig['registration_is_open']
1010
.center
1111
%strong Registration is now closed. Thanks to everyone who applied!
1212
%br

0 commit comments

Comments
 (0)