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

4 lines
275 B
Text
Raw Normal View History

- if @administrateur.present?
= turbo_stream.append "administrateurs", partial: 'administrateur', locals: { procedure: @procedure, administrateur: @administrateur }
= turbo_stream.replace "new_administrateur", partial: 'add_admin_form', locals: { procedure: @procedure }