diff --git a/compensation/forms.py b/compensation/forms.py index b6d801eb..ccba35cd 100644 --- a/compensation/forms.py +++ b/compensation/forms.py @@ -47,7 +47,7 @@ class NewPaymentForm(BaseModalForm): ) ) transfer_note = forms.CharField( - max_length=1000, + max_length=200, required=False, label_suffix=_(""), label=_("Transfer note"), @@ -55,7 +55,6 @@ class NewPaymentForm(BaseModalForm): ) def __init__(self, *args, **kwargs): - self.template = "modal/modal_form.html" super().__init__(*args, **kwargs) self.intervention = self.instance self.form_title = _("Payment") diff --git a/compensation/templates/compensation/detail/includes/actions.html b/compensation/templates/compensation/detail/includes/actions.html index 5a56e80c..ec6fd4ab 100644 --- a/compensation/templates/compensation/detail/includes/actions.html +++ b/compensation/templates/compensation/detail/includes/actions.html @@ -1,5 +1,5 @@ {% load i18n l10n fontawesome_5 humanize %} -