diff --git a/repondeur/zam_repondeur/visam/templates/amendements_add.html b/repondeur/zam_repondeur/visam/templates/amendements_add.html index 11d796023..75867baaf 100644 --- a/repondeur/zam_repondeur/visam/templates/amendements_add.html +++ b/repondeur/zam_repondeur/visam/templates/amendements_add.html @@ -128,8 +128,9 @@

{{ lecture.dossier.titre }}

diff --git a/repondeur/zam_repondeur/visam/views/amendements_add.py b/repondeur/zam_repondeur/visam/views/amendements_add.py index 06aa4df65..ee172b82c 100644 --- a/repondeur/zam_repondeur/visam/views/amendements_add.py +++ b/repondeur/zam_repondeur/visam/views/amendements_add.py @@ -32,7 +32,10 @@ def get(self) -> dict: "current_tab": "saisie-amendement", "lecture": self.lecture, "can_select_organisation": self.can_select_organisation(), - "organisations": DBSession.query(Organisation).all(), + "gouvernement": Organisation.find_by_name("Gouvernement"), + "organisations_except_gouvernement": DBSession.query(Organisation) + .filter(Organisation.name != "Gouvernement") + .all(), "subdivs": [ (article.url_key, str(article)) for article in sorted(self.lecture.articles)