[Fix #1874] Add update SIRET button on edit page
This commit is contained in:
parent
05b6e496ee
commit
4f70292aed
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
||||||
- if dossier.etablissement.present?
|
- if dossier.etablissement.present?
|
||||||
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
||||||
|
|
||||||
|
- if profile == 'usager' && !dossier.read_only?
|
||||||
|
.flex.row-reverse
|
||||||
|
= link_to "Modifier le SIRET", siret_dossier_path(dossier), class: 'button'
|
||||||
|
|
||||||
- if dossier.individual.present?
|
- if dossier.individual.present?
|
||||||
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue