[UPDT] LEAVE: Leave request, admin leave request and holiday html updates using htmx attributes
This commit is contained in:
@@ -440,6 +440,10 @@ class HolidayForm(ModelForm):
|
||||
labels = {
|
||||
"name": _("Name"),
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(HolidayForm, self).__init__(*args, **kwargs)
|
||||
self.fields['name'].widget.attrs['autocomplete'] = 'name'
|
||||
|
||||
|
||||
class LeaveOneAssignForm(ModelForm):
|
||||
|
||||
Reference in New Issue
Block a user