demarches-normaliennes/app/views/administrateurs/routing_rules/_update.turbo_stream.haml

8 lines
228 B
Text
Raw Normal View History

2023-10-13 11:32:15 +02:00
- rendered = render @routing_rule_component
- if rendered.present?
= turbo_stream.replace dom_id(@groupe_instructeur, :routing_rule) do
- rendered
- else
= turbo_stream.remove dom_id(@groupe_instructeur, :routing_rule)