From 11962d069e0f695296cea6b33d3600e6c773d850 Mon Sep 17 00:00:00 2001 From: Mohammad Taleb Date: Tue, 25 Aug 2015 13:54:02 -0400 Subject: [PATCH] Fix if order. Closes #16 --- aldryn_style/templates/aldryn_style/plugin.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aldryn_style/templates/aldryn_style/plugin.html b/aldryn_style/templates/aldryn_style/plugin.html index 50cf412..aa2fe84 100644 --- a/aldryn_style/templates/aldryn_style/plugin.html +++ b/aldryn_style/templates/aldryn_style/plugin.html @@ -1,8 +1,8 @@ {% load cms_tags %} {% spaceless %} -<{{ instance.tag_type }}{% if instance.id_name %} id="{{ instance.id_name }}"{% endif %}{% if instance.class_name %} class="{{ instance.class_name }}{% if instance.additional_class_names %} {{ instance.get_additional_class_names }}{% endif %}"{% endif %}> +<{{ instance.tag_type }}{% if instance.id_name %} id="{{ instance.id_name }}"{% endif %} class="{% if instance.class_name %}{{ instance.class_name }}{% endif %}{% if instance.additional_class_names %} {{ instance.get_additional_class_names }}{% endif %}"> {% for plugin in instance.child_plugin_instances %} {% render_plugin plugin %} {% endfor %} -{% endspaceless %} \ No newline at end of file +{% endspaceless %}