From 5d887ed1d8abd2b37c65d7aa3dc7dd5c6dcdaef0 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Thu, 16 Apr 2020 15:33:00 +0200
Subject: [PATCH] allows to have extra_js_file(s)

---
 .../templates/registration/small_form_host.html                | 3 +++
 setup.py                                                       | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/basetheme_bootstrap/templates/registration/small_form_host.html b/basetheme_bootstrap/templates/registration/small_form_host.html
index 73a94b1..dbd45c5 100644
--- a/basetheme_bootstrap/templates/registration/small_form_host.html
+++ b/basetheme_bootstrap/templates/registration/small_form_host.html
@@ -8,6 +8,9 @@
 {% if extra_js_file %}
 <script src="{% static extra_js_file %}"></script>
 {% endif%}
+{% for extra_js_file in extra_js_files %}
+<script src="{% static extra_js_file %}"></script>
+{% endfor%}
 {% endblock %}
 
 {% block title %}{{ title }}{% endblock %}
diff --git a/setup.py b/setup.py
index f802d50..f0e3fb6 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
 
 setup(
     name='django-basetheme-bootstrap',
-    version='0.2.32',
+    version='0.2.33',
     description='Django Basetheme Bootstrap',
     long_description=readme,
     author='Bryan Brancotte',
-- 
GitLab