Merge pull request #3540 from betagouv/fix-1874

[Fix #1874] Add update SIRET button on edit page
This commit is contained in:
Mathieu Magnin 2019-03-05 14:53:09 +01:00 committed by GitHub
commit 4d019f6d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,10 @@
- if dossier.etablissement.present?
= 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?
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }