Skip to content
Snippets Groups Projects
Verified Commit 0774c7cb authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Remove for loop

parent a23ac14e
No related branches found
No related tags found
No related merge requests found
...@@ -85,10 +85,8 @@ ...@@ -85,10 +85,8 @@
{% block template_content_footer %} {% block template_content_footer %}
{% for item in page.buttons %} <button type="button" class="btn btn-default btn-lg">
<button type="button" class="btn btn-default btn-lg"> {% set button = page.button.split('|') %}
{% set button = item.split('|') %} <a href="{{ button[0] }}">{{ button[1] }}</a>
<a href="{{ button[0] }}">{{ button[1] }}</a> </button>
</button>
{% endfor %}
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment