X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/1457eb9323363108979b3cae92b7503582df0138..47351ab5748512a764719340c653bc7481b87f1a:/prawokultury/templates/contact/register/form.html
diff --git a/prawokultury/templates/contact/register/form.html b/prawokultury/templates/contact/register/form.html
index 2c19f4d..516fcfe 100644
--- a/prawokultury/templates/contact/register/form.html
+++ b/prawokultury/templates/contact/register/form.html
@@ -12,19 +12,48 @@
     {% endblock %}
     
 
-  {% if form.limit_reached %}
+{% if not form.started %}
+  {# Not yet started. #}
+  
+    {% chunk "contact_form__"|add:form.form_tag|add:"__not_started" %}
+  
+{% else %}
+  {# Already started. #}
+  {% if form.limit_reached and not form.open_call %}
+    {# Already closed. #}
     
-        {% chunk "contact_form__"|add:form.form_tag|add:"__full" %}
+      {% chunk "contact_form__"|add:form.form_tag|add:"__closed" %}
     
   {% else %}
+    {# Still running. #}
+    {% if form.limit_reached %}
+      {# Only taking presentation submissions. #}
+      
+        {% chunk "contact_form__"|add:form.form_tag|add:"__presentations_only" %}
+      
+    {% else %}
+      {% if not form.open_call %}
+      {# Not taking presentations any more. #}
+      
+        {% chunk "contact_form__"|add:form.form_tag|add:"__no_presentations" %}
+      
+      {% else %}
+        
+          {% chunk "contact_form__"|add:form.form_tag|add:"__running" %}
+        
+      {% endif %}
+    {% endif %}
+
     
   {% endif %}
-   
+{% endif %}
+
+
 
 {% endblock %}