Fix labeling on GustRaidResponseForm.

This commit is contained in:
Casper V. Kristensen 2020-09-24 21:09:16 +02:00
parent b118881a13
commit fad08758ce
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -72,9 +72,10 @@ class GuestRaidResponseForm(ModelForm):
class Meta:
model = RaidResponse
fields = ["guest_name", "guest_klass", "role", "status"]
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
labels = {
"guest_name": "Name",
"guest_klass": "Class"
}
helper = FormHelper()
helper.layout = Layout(