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"] }}
|
{{ 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"] }}
|
</a>
|
||||||
</button>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user