From 86b348d7fbe8123f66b8cfa8f40667e5720421d9 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@bioforsk.no> Date: Fri, 8 Apr 2016 17:25:42 +0200 Subject: [PATCH] Message accordion fix --- applefruitmoth/templates/applefruitmoth/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applefruitmoth/templates/applefruitmoth/index.html b/applefruitmoth/templates/applefruitmoth/index.html index b1af8b4e..89b4d1c5 100644 --- a/applefruitmoth/templates/applefruitmoth/index.html +++ b/applefruitmoth/templates/applefruitmoth/index.html @@ -40,7 +40,7 @@ {{message.date_pub|date:"Y-m-d"}}: {{message.heading}}</a> </h4> </div> - <div id="collapse1" class="panel-collapse collapse{% if forloop.first %} in{% endif %}"> + <div id="collapse{{message.message_id}}" class="panel-collapse collapse{% if forloop.first %} in{% endif %}"> <div class="panel-body"> <p class="lead">{{message.lead_paragraph}}</p> <p>{{message.body}}</p> -- GitLab