Fix project update. Make slim form only for reversed comments

This commit is contained in:
Dmitriy Zaporozhets 2012-09-18 08:54:17 +03:00
parent 7cce2b1506
commit 249cb19d96
5 changed files with 15 additions and 20 deletions

View file

@ -14,7 +14,7 @@
.right Comments are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
.clearfix
.row.note_advanced_opts.hide
.row.note_advanced_opts
.span3
= f.submit 'Add Comment', class: "btn success submit_note grouped", id: "submit_note"
= link_to 'Preview', preview_project_notes_path(@project), class: 'btn grouped', id: 'preview-link'

View file

@ -8,4 +8,4 @@
:javascript
$(function(){
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
});
});