Fix labeling on GustRaidResponseForm.
This commit is contained in:
parent
b118881a13
commit
fad08758ce
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue