feat(procedure): warn administrator that notice links are not shareable

Closes #7681
This commit is contained in:
Colin Darie 2022-09-19 12:10:31 +02:00
parent 6a943ad13f
commit da22c29688
2 changed files with 38 additions and 15 deletions

View file

@ -26,6 +26,11 @@
class: "fr-btn fr-btn--secondary mt-2",
title: t("views.shared.dossiers.edit.notice_title"), **external_link_attributes
- if administrateur_signed_in?
%em.ml-1.fr-text-mention--grey.visible-on-previous-hover
%span.fr-icon-feedback-line{ "aria-hidden": "true" }
= t('shared.ephemeral_link')
- if dossier.show_groupe_instructeur_selector?
%span{ data: { controller: 'autosave' } }
= f.label :groupe_instructeur_id do