Merge pull request #3544 from betagouv/fix-3495
[Fix #3495] add update identité button
This commit is contained in:
commit
817d783daa
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@
|
||||||
- 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 }
|
||||||
|
|
||||||
|
- if profile == 'usager' && !dossier.read_only?
|
||||||
|
.flex.row-reverse
|
||||||
|
= link_to "Modifier l'identité", identite_dossier_path(dossier), class: 'button'
|
||||||
|
|
||||||
.tab-title Formulaire
|
.tab-title Formulaire
|
||||||
- champs = dossier.champs.includes(:type_de_champ)
|
- champs = dossier.champs.includes(:type_de_champ)
|
||||||
- if champs.any?
|
- if champs.any?
|
||||||
|
|
Loading…
Reference in a new issue