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

15 lines
475 B
Text
Raw Normal View History

%div.commentaire
.row
2016-12-23 16:58:06 +01:00
%div.col-lg-12.col-md-12.col-sm-12.col-xs-12.comment-header
= commentaire.header
.row
2016-12-23 16:58:06 +01:00
%div.col-lg-12.col-md-12.col-sm-12.col-xs-12.content
= commentaire.body.html_safe
- if file = commentaire.piece_justificative
.row
2016-12-23 16:58:06 +01:00
%div.col-lg-12.col-md-12.col-sm-12.col-xs-12.file
= link_to file.content_url, class: 'link', target: '_blank' do
%span.fa.fa-file
%div
= file.original_filename