summaryrefslogtreecommitdiff
path: root/app/views/shared/form_elements/_description.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/form_elements/_description.html.haml')
-rw-r--r--app/views/shared/form_elements/_description.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/form_elements/_description.html.haml b/app/views/shared/form_elements/_description.html.haml
index 413df29da77..7f4aed5d1f7 100644
--- a/app/views/shared/form_elements/_description.html.haml
+++ b/app/views/shared/form_elements/_description.html.haml
@@ -14,6 +14,9 @@
- if model.is_a?(Issuable)
= render 'shared/issuable/form/template_selector', issuable: model
+
+ = render 'shared/form_elements/apply_template_warning', issuable: model
+
= render layout: 'shared/md_preview', locals: { url: preview_url, referenced_users: true } do
= render 'shared/zen', f: form, attr: :description,
classes: 'note-textarea qa-issuable-form-description rspec-issuable-form-description',