Rendering code refactor
This commit is contained in:
@@ -10,11 +10,13 @@
|
||||
<i class="fa fa-pencil" aria-hidden="true"></i>
|
||||
</button>
|
||||
{% include "fragments/tema/visibility.html" %}
|
||||
<button title="Canvia el títol"
|
||||
{% if not tema.stats %}
|
||||
<button title="Esborra el tema"
|
||||
class="text-beige text-2xl mx-2"
|
||||
hx-delete="/api/tema/{{ tema.id }}"
|
||||
hx-swap="outerHTML">
|
||||
<i class="fa fa-times" aria-hidden="true"></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user