demarches-normaliennes/app/views/administrateurs/procedures/detail.turbo_stream.haml

4 lines
212 B
Text
Raw Normal View History

- if !@show_detail
= turbo_stream.remove "procedure_detail_#{@procedure.id}"
= turbo_stream.replace "procedure_#{@procedure.id}", partial: "detail", locals: { procedure: @procedure, show_detail: @show_detail }