dossier: add download icon to attestation link

This commit is contained in:
Pierre de La Morinerie 2018-09-17 15:06:50 +02:00
parent 27727eabf3
commit a7cb4b6514
5 changed files with 16 additions and 2 deletions

View file

@ -39,7 +39,10 @@
%blockquote= dossier.motivation
- if dossier.attestation.present?
= link_to 'Télécharger lattestation', attestation_dossier_path(dossier), target: '_blank', class: 'button primary'
.action
= link_to attestation_dossier_path(dossier), target: '_blank', class: 'button primary' do
%span.icon.download
Télécharger lattestation
- elsif dossier.refuse?
.refuse