From bd6d4c4d71987ecee9dd7d7237975399a1e27378 Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Thu, 23 Jun 2016 14:23:28 +0200 Subject: [PATCH] Syntax Highlighting for the Request for Comment View --- app/views/request_for_comments/show.html.erb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index 3f353e32..a1ffb5ff 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -25,22 +25,32 @@ <% submission.files.each do |file| %> <%= (file.path or "") + "/" + file.name + file.file_type.file_extension %> -
<%= file.content %> +
<%= file.content %>
<% end %> <%= render('shared/modal', id: 'comment-modal', title: t('exercises.implement.comment.dialogtitle'), template: 'exercises/_comment_dialogcontent') %>