make link buttons pseudo-buttons

This commit is contained in:
Yannik Schmidt
2020-07-26 18:44:21 +02:00
parent 851ab67807
commit 222004fde7

View File

@@ -110,10 +110,9 @@
{{ section["text"] }} {{ section["text"] }}
</p> </p>
{% if section["moreInfoButtonText"] %} {% if section["moreInfoButtonText"] %}
<button type=button <a type=button href="{{ section['moreInfoButtonHref'] }}"
onclick="window.location.href='{{ section['moreInfoButtonHref'] }}'"
class="mt-3 btn btn-light">{{ section["moreInfoButtonText"] }} class="mt-3 btn btn-light">{{ section["moreInfoButtonText"] }}
</button> </a>
{% endif %} {% endif %}
</div> </div>
</div> </div>