diff --git a/app/Templates/default/reference.html.twig b/app/Templates/default/reference.html.twig
index ce8fcada..5d4cbad4 100644
--- a/app/Templates/default/reference.html.twig
+++ b/app/Templates/default/reference.html.twig
@@ -238,9 +238,8 @@ $(document).ready(function() {
width: '100%',
});
-
- // if get parameter showmodal is present, show the corresponding modal
{% if showmodal == true %}
+ // if get parameter showmodal is present, show the corresponding modal
$("#register_reference").modal('show');
{% endif %}
});