demarches-normaliennes/app/views/administrateurs/procedure_administrateurs/create.js.haml

10 lines
358 B
Text
Raw Normal View History

2019-04-12 10:43:51 +02:00
= render_flash(sticky: true)
- if @administrateur
= append_to_element("#procedure-#{@procedure.id}-administrateurs",
partial: 'administrateur',
locals: { administrateur: @administrateur })
= render_to_element("#procedure-#{@procedure.id}-new_administrateur",
partial: 'add_admin_form',
outer: true,
locals: { procedure: @procedure })