2015-06-02 08:56:50 -04:00
|
|
|
.md-area
|
|
|
|
.md-header.clearfix
|
|
|
|
%ul.nav.nav-tabs
|
|
|
|
%li.active
|
2015-06-10 16:34:51 -04:00
|
|
|
= link_to '#md-write-holder', class: 'js-md-write-button', tabindex: '-1' do
|
2015-06-02 08:56:50 -04:00
|
|
|
Write
|
|
|
|
%li
|
2015-06-10 16:34:51 -04:00
|
|
|
= link_to '#md-preview-holder', class: 'js-md-preview-button', tabindex: '-1' do
|
2015-06-02 08:56:50 -04:00
|
|
|
Preview
|
|
|
|
|
|
|
|
- if defined?(referenced_users) && referenced_users
|
2015-06-05 06:13:02 -04:00
|
|
|
%span.referenced-users.pull-left.hide
|
2015-06-02 08:56:50 -04:00
|
|
|
= icon('exclamation-triangle')
|
|
|
|
You are about to add
|
|
|
|
%strong
|
|
|
|
%span.js-referenced-users-count 0
|
|
|
|
people
|
|
|
|
to the discussion. Proceed with caution.
|
|
|
|
|
|
|
|
%div
|
|
|
|
.md-write-holder
|
|
|
|
= yield
|
|
|
|
.md.md-preview-holder.hide
|
|
|
|
.js-md-preview{class: (preview_class if defined?(preview_class))}
|