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

4 lines
328 B
Text
Raw Normal View History

- if @administrateur.present?
= turbo_stream.append "administrateurs", partial: 'administrateur', locals: { procedure: @procedure, administrateur: @administrateur }
2022-07-28 15:12:24 +02:00
= turbo_stream.replace "new_administrateur", partial: 'add_admin_form', locals: { procedure: @procedure, disabled_as_super_admin: administrateur_as_manager? }