diff --git a/recruitment/forms.py b/recruitment/forms.py index a43a9f031..8fa3185fe 100644 --- a/recruitment/forms.py +++ b/recruitment/forms.py @@ -684,7 +684,7 @@ class QuestionForm(ModelForm): options = self.cleaned_data["options"] if not recruitment.exists(): # or jobs.exists()): raise ValidationError( - "Choose any recruitment or job positions to apply this question" + {"recruitment": _("Choose any recruitment to apply this question")} ) self.recruitment = recruitment # self.job_positions = jobs diff --git a/recruitment/templates/survey/template_form.html b/recruitment/templates/survey/template_form.html index e6df4d16a..9d9686aff 100644 --- a/recruitment/templates/survey/template_form.html +++ b/recruitment/templates/survey/template_form.html @@ -1,25 +1,28 @@
{% csrf_token %} {{form.as_p}}
diff --git a/recruitment/templates/survey/template_update_form.html b/recruitment/templates/survey/template_update_form.html index 6549d604f..a94d03b9b 100644 --- a/recruitment/templates/survey/template_update_form.html +++ b/recruitment/templates/survey/template_update_form.html @@ -1,25 +1,28 @@
{% csrf_token %} {{form.as_p}}