From 2ebb00cee2e1a8311620899c50a147c4bd2a4e4a Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Thu, 25 Dec 2014 19:45:57 +0500 Subject: [PATCH] [#369] fix new comment header --- app/views/projects/comments/_add.html.slim | 1 + app/views/projects/comments/_comment.html.slim | 1 + app/views/projects/comments/_new_line.html.slim | 1 + app/views/projects/issues/_title_body.html.slim | 1 + 4 files changed, 4 insertions(+) diff --git a/app/views/projects/comments/_add.html.slim b/app/views/projects/comments/_add.html.slim index 54c3f1813..6c75e40d0 100644 --- a/app/views/projects/comments/_add.html.slim +++ b/app/views/projects/comments/_add.html.slim @@ -7,6 +7,7 @@ h3 h3.panel-title = f.label :body .pull-right= render 'projects/comments/button_md_help' + .clearfix .panel-body = render 'projects/comments/body', f: f, id: 'new-comment', ctrl: 'commentsCtrl', ang_model: 'new_body' diff --git a/app/views/projects/comments/_comment.html.slim b/app/views/projects/comments/_comment.html.slim index f0b5bab5c..d90a7e12b 100644 --- a/app/views/projects/comments/_comment.html.slim +++ b/app/views/projects/comments/_comment.html.slim @@ -9,6 +9,7 @@ h3.panel-title = f.label :body .pull-right== render 'projects/comments/button_md_help.html.slim' + .clearfix .panel-body == render 'projects/comments/body.html.slim', f: f, id: "comment-#{comment.id}", ctrl: 'commentsCtrl' diff --git a/app/views/projects/comments/_new_line.html.slim b/app/views/projects/comments/_new_line.html.slim index 22535d2de..30247133c 100644 --- a/app/views/projects/comments/_new_line.html.slim +++ b/app/views/projects/comments/_new_line.html.slim @@ -9,6 +9,7 @@ h3.panel-title = f.label :body .pull-right= render 'projects/comments/button_md_help' + .clearfix .panel-body = render 'projects/comments/body', f: f, id: 'new-inline-comment', ctrl: 'commentsCtrl', ang_model: 'new_inline_body' diff --git a/app/views/projects/issues/_title_body.html.slim b/app/views/projects/issues/_title_body.html.slim index acdc1f4c9..a296ba4a0 100644 --- a/app/views/projects/issues/_title_body.html.slim +++ b/app/views/projects/issues/_title_body.html.slim @@ -6,5 +6,6 @@ - t('activerecord.attributes.issue.body') = f.label :body .pull-right= render 'projects/comments/button_md_help' + .clearfix .panel-body = render 'projects/comments/body', f: f, id: 'issue', ctrl: 'issueCtrl'