[#369] fix new comment header

This commit is contained in:
Alexander Machehin 2014-12-25 19:45:57 +05:00
parent 92bb6dcd08
commit 2ebb00cee2
4 changed files with 4 additions and 0 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'