fix object journal styles

This commit is contained in:
checktheroads
2021-03-17 22:37:13 -07:00
parent 1d850a07ce
commit e2ba5774c4
2 changed files with 22 additions and 16 deletions

View File

@@ -377,6 +377,12 @@ class ImageAttachmentForm(BootstrapMixin, forms.ModelForm):
class JournalEntryForm(BootstrapMixin, forms.ModelForm):
kind = forms.ChoiceField(
choices=add_blank_choice(JournalEntryKindChoices),
required=False,
widget=StaticSelect2()
)
class Meta:
model = JournalEntry
fields = ['assigned_object_type', 'assigned_object_id', 'kind', 'comments']