demarches-normaliennes/app/views/users/commentaires/_commentaire.html.haml

15 lines
415 B
Text
Raw Normal View History

%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