{% load static dynamicforms %} {% set_var templatename=DYNAMICFORMS.template|add:'base_includes.html' %} {% if include_libs != False %} {% extendtemplate template_name_var=templatename block="ui_library_include" %} {% endif %} {% if DYNAMICFORMS.use_select2 %} {% include DYNAMICFORMS.select2_include %} {% endif %}