linebreaksbr stuff

This commit is contained in:
Sanj 2011-09-28 22:28:09 +05:30
parent 222e8fd489
commit 3639022390
2 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<!--
<div class="linksInnerOrange"> <div class="linksInnerOrange">
<a href="#" class="orange toggleNext">Dummy Link 1</a> <a href="#" class="orange toggleNext">Dummy Link 1</a>
<div class="hideText">Dummy text that displays on clicking link</div> <div class="hideText">Dummy text that displays on clicking link</div>
@ -10,3 +10,13 @@
<a href="#" class="orange toggleNext">Dummy Link 4</a> <a href="#" class="orange toggleNext">Dummy Link 4</a>
<div class="hideText">Dummy text that displays on clicking link</div> <div class="hideText">Dummy text that displays on clicking link</div>
</div> </div>
-->
{% load guidelines %}
<div class="orange">
{{ title }}
</div>
<div class="">
{% autoescape off %}
{{ text|linebreaksbr|link_bps }}
{% endautoescape %}
</div>

View File

@ -1,2 +1,2 @@
<div class="orange">{{ title }}</div> <div class="orange">{{ title }}</div>
<div>{{ intro }}</div> <div>{{ intro|linebreaksbr }}</div>