_md_preview.html.haml 333 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
%ul.nav.nav-tabs
  %li.active
    = link_to '#md-write-holder', class: 'js-md-write-button' do
      Write
  %li
    = link_to '#md-preview-holder', class: 'js-md-preview-button', data: { url: markdown_preview_project_path(@project) } do
      Preview
%div
  .md-write-holder
    = yield
  .md-preview-holder.hide
    .js-md-preview