issue submission forms

This commit is contained in:
Laura Klünder 2019-12-24 17:28:41 +01:00
parent e7fc0f24ae
commit 52c02a4101
18 changed files with 652 additions and 79 deletions

View file

@ -41,7 +41,8 @@ class I18nModelFormMixin(ModelForm):
new_fields[sub_field_name] = CharField(label=field_title,
required=False,
initial=values[language].strip(),
max_length=model_field.i18n_max_length)
max_length=model_field.i18n_max_length,
help_text=form_field.help_text)
if has_values:
self.i18n_fields.append((model_field, values))