From 4b5cd5a22af30a4f0deba2c7837c0bcf5400117b Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Tue, 26 Apr 2016 16:06:32 +0200 Subject: [PATCH] Use better modal --- app/views/request_for_comments/show.html.erb | 140 ++++++++++++------- 1 file changed, 93 insertions(+), 47 deletions(-) diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index a47eba32..e0a76d31 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -25,27 +25,22 @@ do not put a carriage return in the line below. it will be present in the presen <% end %> +<%= render('shared/modal', id: 'comment-modal', title: t('exercises.implement.comment.dialogtitle'), template: 'exercises/_comment_dialogcontent') %> + -