feat(siret): add copy shortcut on siret
This commit is contained in:
parent
da49497f0b
commit
1ffeaf6c34
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@
|
||||||
%td= raison_sociale_or_name(etablissement)
|
%td= raison_sociale_or_name(etablissement)
|
||||||
%tr
|
%tr
|
||||||
%td.libelle SIRET :
|
%td.libelle SIRET :
|
||||||
%td= pretty_siret(etablissement.siret)
|
%td #{pretty_siret(etablissement.siret)} #{ render Dsfr::CopyButtonComponent.new(text: etablissement.siret, title: "Copier le siret dans le presse-papier", success: "Le siret a été copié dans le presse-papier") }
|
||||||
|
|
||||||
|
|
||||||
- unless local_assigns[:short_identity]
|
- unless local_assigns[:short_identity]
|
||||||
- if etablissement.siret != etablissement.entreprise.siret_siege_social
|
- if etablissement.siret != etablissement.entreprise.siret_siege_social
|
||||||
|
|
Loading…
Reference in a new issue