mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-17 04:01:25 +01:00
Update effect_card.html
This commit is contained in:
parent
ad5d529728
commit
acac33dbda
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
<div class="card {% if rounds == 0 %}text-bg-secondary{% endif %} effect" data-id="{{ effect.pk }}">
|
<div class="card {% if rounds == 0 %}text-bg-secondary{% endif %} effect" data-id="{{ effect.pk }}">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h5 class="card-title">
|
<h5 class="card-title">
|
||||||
{% if party.game_master == request.user %}
|
|
||||||
<button
|
<button
|
||||||
hx-get="{% url "party:delete_effect" pk=party.pk effect_pk=effect.pk %}"
|
hx-get="{% url "party:delete_effect" pk=party.pk effect_pk=effect.pk %}"
|
||||||
hx-target="#effects"
|
hx-target="#effects"
|
||||||
|
@ -13,7 +12,6 @@
|
||||||
>
|
>
|
||||||
<i class="fa-solid fa-trash"></i>
|
<i class="fa-solid fa-trash"></i>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
|
||||||
{{ effect.name }}
|
{{ effect.name }}
|
||||||
</h5>
|
</h5>
|
||||||
<h6 class="card-subtitle mb-2 {% if rounds != 0 %}text-muted{% endif %}">
|
<h6 class="card-subtitle mb-2 {% if rounds != 0 %}text-muted{% endif %}">
|
||||||
|
|
Loading…
Reference in a new issue