Add commentaire joined files (pieces justificatives) direct into messages block
This commit is contained in:
parent
d974040540
commit
f978455642
3 changed files with 17 additions and 1 deletions
|
@ -5,3 +5,10 @@
|
|||
.row
|
||||
%div.col-lg-12.col-md-12.content
|
||||
= commentaire.body.html_safe
|
||||
- if file = commentaire.piece_justificative
|
||||
.row
|
||||
%div.col-lg-12.col-md-12.file
|
||||
= link_to file.content_url, class: 'link', target: '_blank' do
|
||||
%span.fa.fa-file
|
||||
%div
|
||||
= file.original_filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue