FAKE pièce justificative fix test
This commit is contained in:
parent
42f43eebd7
commit
5fd9b39889
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue