diff --git a/games/templates/cotton/button_group_button_sm.html b/games/templates/cotton/button_group_button_sm.html index 7947127..d404cba 100644 --- a/games/templates/cotton/button_group_button_sm.html +++ b/games/templates/cotton/button_group_button_sm.html @@ -3,16 +3,19 @@ class="[&:first-of-type_button]:rounded-s-lg [&:last-of-type_button]:rounded-e-lg"> {% if color == "gray" %} {% elif color == "red" %} {% elif color == "green" %} diff --git a/games/views/purchase.py b/games/views/purchase.py index f833352..a353227 100644 --- a/games/views/purchase.py +++ b/games/views/purchase.py @@ -108,6 +108,7 @@ def list_purchases(request: HttpRequest) -> HttpResponse: "edit_purchase", args=[purchase.pk] ), "slot": Icon("edit"), + "title": "Edit", "color": "gray", }, { @@ -115,6 +116,7 @@ def list_purchases(request: HttpRequest) -> HttpResponse: "delete_purchase", args=[purchase.pk] ), "slot": Icon("delete"), + "title": "Delete", "color": "red", }, ]