mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
make link buttons pseudo-buttons
This commit is contained in:
@@ -110,10 +110,9 @@
|
||||
{{ section["text"] }}
|
||||
</p>
|
||||
{% if section["moreInfoButtonText"] %}
|
||||
<button type=button
|
||||
onclick="window.location.href='{{ section['moreInfoButtonHref'] }}'"
|
||||
<a type=button href="{{ section['moreInfoButtonHref'] }}"
|
||||
class="mt-3 btn btn-light">{{ section["moreInfoButtonText"] }}
|
||||
</button>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user