Permalink
Browse files

Adds tag type to template.

  • Loading branch information...
1 parent fa96a44 commit e022d56649c59c833758a37c5d27d8c3ff5c0071 @czpython czpython committed Jul 16, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 djangocms_style/templates/cms/plugins/style.html
@@ -1,6 +1,6 @@
{% load cms_tags %}
-<div class="{{ instance.class_name }}{% if instance.additional_classes %}{{ instance.get_additional_classes }}{% endif %}"{% if instance.inline_style %} style="{{ instance.inline_style }}"{% endif %}>
+<{{ instance.tag_type }} class="{{ instance.class_name }}{% if instance.additional_classes %} {{ instance.get_additional_classes }}{% endif %}"{% if instance.inline_style %} style="{{ instance.inline_style }}"{% endif %}>
{% for plugin in instance.child_plugin_instances %}
{% render_plugin plugin %}
{% endfor %}
-</div>
+</{{ instance.tag_type }}>

0 comments on commit e022d56

Please sign in to comment.