Working on dossiers#show recapitulatif for users
This commit is contained in:
parent
0c90c2c122
commit
27cc62ea1e
11 changed files with 212 additions and 92 deletions
14
app/views/users/commentaires/_commentaire.html.haml
Normal file
14
app/views/users/commentaires/_commentaire.html.haml
Normal file
|
@ -0,0 +1,14 @@
|
|||
%div.commentaire
|
||||
.row
|
||||
%div.col-lg-12.col-md-12.comment-header
|
||||
= commentaire.header
|
||||
.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