From 9925fde5d278278312a2be4458dc4cc675a3b88b Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 20 Sep 2019 10:12:33 +0530 Subject: Add field to enable/disable registration details model --- static/website/templates/home.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'static/website/templates') diff --git a/static/website/templates/home.html b/static/website/templates/home.html index 8e4270d..144f57f 100644 --- a/static/website/templates/home.html +++ b/static/website/templates/home.html @@ -125,10 +125,11 @@ It provides a unique opportunity to discuss about the latest trends on Scientifi {% for registration_detail in registration_details %} + {% if registration_detail.display_registration_type %}
- {{ registration_detail.registration_type }}
+ {{ registration_detail.registration_type| safe }}
{% if not registration_detail.start_date %} (till {{ registration_detail.end_date| date:"d M Y"}})
{% else %} @@ -143,6 +144,7 @@ It provides a unique opportunity to discuss about the latest trends on Scientifi
+ {% endif %} {% endfor %} -- cgit