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"] }}
</p>
{% if section["moreInfoButtonText"] %}
<button type=button
onclick="window.location.href='{{ section['moreInfoButtonHref'] }}'"
class="mt-3 btn btn-light">{{ section["moreInfoButtonText"] }}
</button>
<a type=button href="{{ section['moreInfoButtonHref'] }}"
class="mt-3 btn btn-light">{{ section["moreInfoButtonText"] }}
</a>
{% endif %}
</div>
</div>