FAKE pièce justificative fix test

This commit is contained in:
Xavier J 2015-10-08 16:31:14 +02:00
parent 42f43eebd7
commit 5fd9b39889
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
%a{ href: "#{piece_justificative.content}", target: '_blank' } Consulter
- else
= 'Pièce non fournie'
- if current_user.loged_in_with_france_connect
- if gestionnaire_signed_in? || (user_signed_in? && current_user.loged_in_with_france_connect)
%tr
%th.col-lg-6
Attestation fiscale

View file

@ -69,7 +69,7 @@
Modifier
= file_field_tag "piece_justificative_#{piece_justificative.type}", accept: '.pdf'
- if current_user.loged_in_with_france_connect
- if (user_signed_in? && current_user.loged_in_with_france_connect) || gestionnaire_signed_in?
%tr
%th.col-lg-6
Attestation fiscale