diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-13 18:20:04 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-13 18:20:04 +0200 |
| commit | d5d64f2b1047f864811d23f19f109a6513c22a2a (patch) | |
| tree | ccea4ca1a4e58e65f74819daa67b8997d583ec71 /app/templates/macros.j2 | |
| parent | 673361f4475f0fde43fefa57735d766b4cb22c30 (diff) | |
Working version with several bugs
Diffstat (limited to 'app/templates/macros.j2')
| -rw-r--r-- | app/templates/macros.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/macros.j2 b/app/templates/macros.j2 index 2974744..a4b2fc1 100644 --- a/app/templates/macros.j2 +++ b/app/templates/macros.j2 @@ -7,7 +7,7 @@ {% macro player_button(player) -%} <button class="button is-responsive {% if player.status %}is-success{% else %}is-danger {% endif %}" hx-post="{{ "/player-toggle/" ~ player.id}}" - hx-swap="outerHTML"> {{ player.first + " " + player.last}} </button> + hx-swap="outerHTML"> {{ player.first_name + " " + player.last_name}} </button> {%- endmacro %} {% macro guest_control(level, value) -%} |
