[Fix #1874] Add update SIRET button on edit page

This commit is contained in:
Mathieu Magnin 2019-03-05 10:39:17 +01:00
parent 05b6e496ee
commit 4f70292aed

View file

@ -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 }