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
|
2017-04-06 15:32:05 +02:00
|
|
|
.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
|
2017-04-12 11:12:05 +02:00
|
|
|
%a#maj_pj.action{ "data-target" => "#upload-pj-modal",
|
2016-12-06 15:17:18 +01:00
|
|
|
"data-toggle" => "modal",
|
|
|
|
:type => "button",
|
2017-04-06 19:58:11 +02:00
|
|
|
style: 'margin-bottom: 15px; margin-top: -30px;' }
|
2016-12-06 15:17:18 +01:00
|
|
|
Modifier les documents
|
|
|
|
%br
|
|
|
|
= render partial: 'users/recapitulatif/modal_upload_pj'
|