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
acac33dbda
commit
c7fd350276
1 changed files with 9 additions and 9 deletions
|
@ -3,15 +3,15 @@
|
||||||
<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">
|
||||||
<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"
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
class="btn btn-sm btn-danger delete"
|
class="btn btn-sm btn-danger delete"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<i class="fa-solid fa-trash"></i>
|
<i class="fa-solid fa-trash"></i>
|
||||||
</button>
|
</button>
|
||||||
{{ 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