Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Agnès Haasser <1035145+tut-tuuut@users.noreply.github.com>
  • Loading branch information
christophehenry and tut-tuuut authored Feb 8, 2022
1 parent 65faf00 commit 0398ed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions aidants_connect_habilitation/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class ValidationForm(PatchedForm):
dpo = BooleanField(
required=True,
label="Je confirme que le délégué à la protection des données "
"de mon organisation est informé de ma demande",
"de mon organisation est informé de ma demande.",
)
professionals_only = BooleanField(
required=True,
Expand All @@ -228,5 +228,6 @@ class ValidationForm(PatchedForm):
without_elected = BooleanField(
required=True,
label="Je confirme qu’aucun élu n’est impliqué dans l’habilitation "
"Aidants Connect ainsi que les aidants à habiliter de sont pas des élus.",
"Aidants Connect. Le responsable Aidants Connect ainsi que les aidants "
"à habiliter ne sont pas des élus.",
)
2 changes: 1 addition & 1 deletion aidants_connect_habilitation/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_context_data(self, **kwargs):
**super().get_context_data(**kwargs),
"issuer": self.issuer,
"organisation": self.organisation,
"aidants": AidantRequest.objects.get(organisation=self.organisation),
"aidants": self.organisation.aidants,
}

def get_success_url(self):
Expand Down

0 comments on commit 0398ed1

Please sign in to comment.