From 18902aedace82be02e7a69b04c2dc95c42fef66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 18 Feb 2024 09:03:35 +0100 Subject: [PATCH] Reformat --- games/templates/components/button.html | 6 +-- games/templates/components/button_start.html | 18 ++++----- games/templates/components/edit_button.html | 10 ++--- games/views.py | 42 +++++++++++--------- 4 files changed, 40 insertions(+), 36 deletions(-) diff --git a/games/templates/components/button.html b/games/templates/components/button.html index 6583755..5a165df 100644 --- a/games/templates/components/button.html +++ b/games/templates/components/button.html @@ -1,10 +1,10 @@ -{% comment %} +{% comment %} title text {% endcomment %} + title="{{ title }}" + class="truncate max-w-xs py-1 px-2 text-xs bg-green-600 hover:bg-green-700 focus:ring-green-500 focus:ring-offset-blue-200 text-white transition ease-in duration-200 text-center font-semibold shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2 rounded-sm"> {% comment %} diff --git a/games/templates/components/button_start.html b/games/templates/components/button_start.html index b38c4e3..3d2ace3 100644 --- a/games/templates/components/button_start.html +++ b/games/templates/components/button_start.html @@ -1,17 +1,17 @@ -{% comment %} +{% comment %} title text {% endcomment %}