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

7 lines
267 B
Text
Raw Normal View History

= turbo_stream.update 'check_path' do
- if @path_available == false && @administrateur.owns?(@other_procedure)
%p.fr-error-text= t('.path_not_available.owner')
- elsif @path_available == false
%p.fr-error-text= t('.path_not_available.not_owner')
- else