2016-12-06 15:17:18 +01:00
|
|
|
- unless @facade.dossier.read_only?
|
|
|
|
- if user_signed_in? && (@facade.dossier.owner?(current_user.email) || @facade.dossier.invite_by_user?(current_user.email))
|
|
|
|
- if @facade.procedure.cerfa_flag? || @facade.dossier.types_de_piece_justificative.size > 0
|
2016-12-23 16:58:06 +01:00
|
|
|
%div.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
|
2016-12-06 15:17:18 +01:00
|
|
|
%a#maj_pj.action{"data-target" => "#UploadPJmodal",
|
|
|
|
"data-toggle" => "modal",
|
|
|
|
:type => "button",
|
|
|
|
style: 'margin-bottom: 15px; margin-top: -30px'}
|
|
|
|
Modifier les documents
|
|
|
|
%br
|
|
|
|
= render partial: 'users/recapitulatif/modal_upload_pj'
|