style: improve api token box look

This commit is contained in:
Herculino Trotta
2026-06-27 17:56:05 -03:00
parent 4273c541c5
commit 009a7038c8
2 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -437,7 +437,9 @@ class APITokenCreateForm(forms.Form):
name = forms.CharField(
max_length=255,
label=_("Token name"),
help_text=_("Use a descriptive name such as n8n, Home Assistant, or backup job."),
help_text=_(
"Use a descriptive name such as n8n, Home Assistant, or backup job."
),
)
expires_in_days = forms.IntegerField(
required=False,
@@ -459,7 +461,7 @@ class APITokenCreateForm(forms.Form):
NoClassSubmit(
"submit",
_("Create token"),
css_class="btn btn-outline-primary w-full",
css_class="btn btn-primary",
),
),
)