mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-16 19:51:23 +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-body">
|
||||
<h5 class="card-title">
|
||||
<button
|
||||
hx-get="{% url "party:delete_effect" pk=party.pk effect_pk=effect.pk %}"
|
||||
hx-target="#effects"
|
||||
hx-swap="outerHTML"
|
||||
class="btn btn-sm btn-danger delete"
|
||||
type="button"
|
||||
>
|
||||
<i class="fa-solid fa-trash"></i>
|
||||
</button>
|
||||
<button
|
||||
hx-get="{% url "party:delete_effect" pk=party.pk effect_pk=effect.pk %}"
|
||||
hx-target="#effects"
|
||||
hx-swap="outerHTML"
|
||||
class="btn btn-sm btn-danger delete"
|
||||
type="button"
|
||||
>
|
||||
<i class="fa-solid fa-trash"></i>
|
||||
</button>
|
||||
{{ effect.name }}
|
||||
</h5>
|
||||
<h6 class="card-subtitle mb-2 {% if rounds != 0 %}text-muted{% endif %}">
|
||||
|
|
Loading…
Reference in a new issue