diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-13 14:14:27 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-17 17:58:08 +0100 |
commit | 080449f8af56e1aa0d80c921d0bc6ea4a61f1c38 (patch) | |
tree | 5dca4caab2ce265abd6062d97e6b269a3523290c /app/views/projects/_issuable_form.html.haml | |
parent | 529188e4788991961796b1b6131389072ee61efb (diff) | |
download | gitlab-ce-080449f8af56e1aa0d80c921d0bc6ea4a61f1c38.tar.gz |
Make sure Markdown previews always use the same styling as the eventual destination.
Diffstat (limited to 'app/views/projects/_issuable_form.html.haml')
-rw-r--r-- | app/views/projects/_issuable_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_issuable_form.html.haml b/app/views/projects/_issuable_form.html.haml index 9e2e214b3e8..5a57673b584 100644 --- a/app/views/projects/_issuable_form.html.haml +++ b/app/views/projects/_issuable_form.html.haml @@ -15,7 +15,7 @@ = f.label :description, 'Description', class: 'control-label' .col-sm-10 - = render layout: 'projects/md_preview' do + = render layout: 'projects/md_preview', locals: { preview_class: "wiki" } do = render 'projects/zen', f: f, attr: :description, classes: 'description form-control' .col-sm-12.hint |