{{template "repo/header" .}}
{{template "base/alert" .}}
{{ctx.Locale.Tr "repo.wiki.new_page"}} {{if .PageIsWikiEdit}} {{ctx.Locale.Tr "repo.wiki.new_page_button"}} {{end}}
{{.CsrfTokenHtml}}
{{ctx.Locale.Tr "repo.wiki.page_name_desc"}}
{{$content := .content}} {{if not .PageIsWikiEdit}} {{$content = ctx.Locale.Tr "repo.wiki.welcome"}} {{end}} {{template "shared/combomarkdowneditor" (dict "CustomInit" true "MarkdownPreviewInRepo" $.Repository "MarkdownPreviewMode" "wiki" "TextareaName" "content" "TextareaContent" $content "TextareaPlaceholder" (ctx.Locale.Tr "repo.wiki.page_content") )}}
{{ctx.Locale.Tr "cancel"}}