Fixed typo to show correctly the tags

This commit is contained in:
JKuijperM 2026-01-28 14:54:20 +01:00
parent 8cc364879a
commit 868fe23bbd
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class ExpenseForm(forms.ModelForm):
]
widgets = {
'date': forms.DateInput(attrs={'type': 'date'}),
'widget': forms.CheckboxSelectMultiple(),
}
class TagForm(forms.ModelForm):

View File

@ -76,7 +76,7 @@
<td>{{ expense.category.name }}</td>
<td>{{ expense.amount }}</td>
<td>
{% for tag in expenses.tags.all %}
{% for tag in expense.tags.all %}
<span>{{ tag.name }}</span>{% if not forloop.last %}, {% endif %}
{% empty %}
-