aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/show.html
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-08 01:34:02 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-08 01:34:02 +0100
commit101f820153cdb047d13166672d3f46cfef31677d (patch)
treecf1806735201f39a1b6b88d179ed16ce1b97ea4f /templates/news/show.html
parent9ab593bcd52fcbe87f1be463ca5f09a757d1128f (diff)
downloadfamille-flask-101f820153cdb047d13166672d3f46cfef31677d.tar.gz
Keep both rst and html rendered content in the database. News edit feature
Diffstat (limited to 'templates/news/show.html')
-rw-r--r--templates/news/show.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/show.html b/templates/news/show.html
index 411cdfc..7e03b5d 100644
--- a/templates/news/show.html
+++ b/templates/news/show.html
@@ -13,7 +13,7 @@
<h1>{{news.title}}</h1>
<div class="news_content">
-{{news.content|safe}}
+{{news.content_cache|safe}}
</div>
<hr/>
@@ -23,7 +23,7 @@
Posté par <a href="">{{comment.name}}</a> le {{comment.date|format_date}}
</h3>
<div class="comment_content"/>
-{{comment.content|safe}}
+{{comment.content_cache|safe}}
</div>
{% endfor %}