Merge pull request #1198 from NARKOZ/preview_notes

ability to preview notes
This commit is contained in:
Dmitriy Zaporozhets 2012-08-10 06:42:31 -07:00
commit 5fd0e7ba11
4 changed files with 35 additions and 6 deletions

View file

@ -7,10 +7,12 @@
= f.hidden_field :noteable_id
= f.hidden_field :noteable_type
= f.text_area :note, :size => 255
= f.text_area :note, :size => 255
#preview-note.well.hide
%p.hint
= link_to "Gitlab Markdown", help_markdown_path, :target => '_blank'
is enabled.
= link_to 'Preview', preview_project_notes_path(@project), :id => 'preview-link'
.row.note_advanced_opts.hide
.span2