Permalink
Browse files

Fixed Issue #1212

  • Loading branch information...
1 parent 48c349c commit 48b6754572c8b5bbcd7601548b01ae04ef2b8252 @czpython czpython committed Mar 19, 2013
@@ -0,0 +1,17 @@
+{% load cms_tags sekizai_tags %}
+
+{% render_block "css" %}
+
+{% block one %}
+ {% placeholder "one" %}
+{% endblock %}
+
+{% block two %}
+ {% placeholder "two" %}
+{% endblock %}
+
+{% block three %}
+ {% placeholder "three" %}
+{% endblock %}
+
+{% render_block "js" %}
@@ -0,0 +1,15 @@
+{% load cms_tags sekizai_tags %}
+
+{% render_block "css" %}
+
+{% block one %}
+ {% placeholder "one" %}
+{% endblock %}
+
+{% block two %}
+ {% placeholder "two" %}
+{% endblock %}
+
+{% placeholder "base_outside" %}
+
+{% render_block "js" %}
@@ -0,0 +1 @@
+{% extends "placeholder_tests/outside_sekizai.html" %}
@@ -0,0 +1,14 @@
+{% extends "placeholder_tests/outside_base_sekizai.html" %}
+{% load cms_tags %}
+
+{% comment %}
+This files hould result in following placeholders:
+
+ - new_one (from this)
+ - two (from base.html)
+ - base_end (from base.html)
+{% endcomment %}
+
+{% block one %}
+ {% placeholder "new_one" %}
+{% endblock %}
@@ -0,0 +1,16 @@
+{% extends "placeholder_tests/base_sekizai.html" %}
+
+{% load cms_tags %}
+
+{% comment %}
+This files hould result in following placeholders:
+
+ - new_one (from this)
+ - two (from base.html)
+ - three (from base.html)
+
+{% endcomment %}
+
+{% block one %}
+ {% placeholder "new_one" %}
+{% endblock %}
@@ -0,0 +1,17 @@
+{% extends "placeholder_tests/test_one_sekizai.html" %}
+
+{% load cms_tags %}
+
+{% comment %}
+
+This file should result in following placeholders:
+
+ - new_one (from test_one.html)
+ - two (from base.html)
+ - new_three (from this)
+
+{% endcomment %}
+
+{% block three %}
+ {% placeholder "new_three" %}
+{% endblock %}

0 comments on commit 48b6754

Please sign in to comment.