2024-03-14 17:17:47 +01:00
|
|
|
= turbo_stream.update 'check_path' do
|
2024-03-20 11:24:24 +01:00
|
|
|
- if @path_available == false && current_administrateur.owns?(@other_procedure)
|
2024-03-14 17:17:47 +01:00
|
|
|
%p.fr-error-text= t('.path_not_available.owner')
|
|
|
|
- elsif @path_available == false
|
|
|
|
%p.fr-error-text= t('.path_not_available.not_owner')
|
|
|
|
- else
|