ability to preview notes

This commit is contained in:
Nihad Abbasov 2012-08-07 06:17:29 -07:00
parent 34ba4e1352
commit 1ec3bd3f8d
3 changed files with 1356 additions and 4 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', '#', :id => 'preview-link'
.row.note_advanced_opts.hide
.span4