From a23ac14e35bd047e9167c263dc1773d85c174c5b Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Thu, 16 Apr 2020 15:36:54 +0200 Subject: [PATCH] Fix for loop --- templates/page_with_carousel_button.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/page_with_carousel_button.html b/templates/page_with_carousel_button.html index 53824e8..d57c1e2 100644 --- a/templates/page_with_carousel_button.html +++ b/templates/page_with_carousel_button.html @@ -85,7 +85,7 @@ {% block template_content_footer %} -{% for item in buttons %} +{% for item in page.buttons %} <button type="button" class="btn btn-default btn-lg"> {% set button = item.split('|') %} <a href="{{ button[0] }}">{{ button[1] }}</a> -- GitLab