X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/ac2bf5fce0bddb3d687562c70dc7f4b90758b95d..d8b0d2e762277e6cf53d4747525661c747a04f82:/prawokultury/context_processors.py diff --git a/prawokultury/context_processors.py b/prawokultury/context_processors.py index b944366..60ff46c 100644 --- a/prawokultury/context_processors.py +++ b/prawokultury/context_processors.py @@ -12,7 +12,7 @@ def registration_url(request): if speaker_form.started and not speaker_form.closed: url = reverse("contact_form", args=["register-speaker"]) label = _('Registration') - elif speaker_form.closed and not registration_form.started: + elif not speaker_form.started or (speaker_form.closed and not registration_form.started): url = reverse("contact_form", args=["remind-me"]) label = _('Remind me') else: