diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-08-15 15:51:29 -0500 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-09-05 09:19:16 -0500 |
commit | 5a7451c2f91e5ed7fa95f6abb5eaceaf220945cb (patch) | |
tree | 1b99fe086f74e42e997a6b8bbf2f3962298685ef /app/views/projects/wikis/_form.html.haml | |
parent | bd807fe0a69fdc53c7423bea8f24e73080fbada6 (diff) | |
download | gitlab-ce-5a7451c2f91e5ed7fa95f6abb5eaceaf220945cb.tar.gz |
Enable CommonMark for files and wikis
Diffstat (limited to 'app/views/projects/wikis/_form.html.haml')
-rw-r--r-- | app/views/projects/wikis/_form.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/wikis/_form.html.haml b/app/views/projects/wikis/_form.html.haml index de692466fe5..05791e9d4fc 100644 --- a/app/views/projects/wikis/_form.html.haml +++ b/app/views/projects/wikis/_form.html.haml @@ -2,8 +2,7 @@ - commit_message = commit_message % { page_title: @page.title } = form_for [@project.namespace.becomes(Namespace), @project, @page], method: @page.persisted? ? :put : :post, - html: { class: 'wiki-form common-note-form prepend-top-default js-quick-submit' }, - data: { markdown_version: CacheMarkdownField::CACHE_REDCARPET_VERSION } do |f| + html: { class: 'wiki-form common-note-form prepend-top-default js-quick-submit' } do |f| = form_errors(@page) - if @page.persisted? |