Merge pull request #5678 from betagouv/fix-service-edit-link
ETQ administrateur, je peux modifier un service depuis une démarche
This commit is contained in:
commit
e63993c07e
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
||||||
Choix du service administratif
|
Choix du service administratif
|
||||||
.card-admin-action
|
.card-admin-action
|
||||||
- if @procedure.service.present?
|
- if @procedure.service.present?
|
||||||
= link_to 'Modifier', edit_admin_service_path(@procedure.service), class: 'button'
|
= link_to 'Modifier', edit_admin_service_path(@procedure.service, procedure_id: @procedure.id), class: 'button'
|
||||||
- elsif current_administrateur.services.present?
|
- elsif current_administrateur.services.present?
|
||||||
= link_to 'Choisir', admin_services_path(procedure_id: @procedure.id), class: 'button'
|
= link_to 'Choisir', admin_services_path(procedure_id: @procedure.id), class: 'button'
|
||||||
- else
|
- else
|
||||||
|
|
Loading…
Reference in a new issue