Need refactoring on dossier_show rendered partials
This commit is contained in:
parent
fdf6efafb2
commit
f407f3a266
2 changed files with 2 additions and 2 deletions
|
@ -13,4 +13,4 @@ function modal_action() {
|
|||
modal.find('#PJmodal_title').html(modal_title);
|
||||
$("#PJmodal .modal-body .table #"+modal_index).show();
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
%span{style:'margin-left:12px'}
|
||||
\-
|
||||
- if @facade.dossier.pieces_justificatives.where(type_de_piece_justificative_id: type_de_piece_justificative.id).count > 1
|
||||
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
|
||||
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => "type_de_pj_#{type_de_piece_justificative.id}" do
|
||||
%span.fa.fa-clock-o
|
||||
- else
|
||||
= 'Pièce non fournie'
|
||||
|
|
Loading…
Reference in a new issue