Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds tag type to template.

  • Loading branch information...
commit e022d56649c59c833758a37c5d27d8c3ff5c0071 1 parent fa96a44
@czpython czpython authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 djangocms_style/templates/cms/plugins/style.html
View
4 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 }}>
Please sign in to comment.
Something went wrong with that request. Please try again.