{{template "base/head" .}}
{{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 "MarkdownPreviewUrl" (print .Repository.Link "/markup") "MarkdownPreviewContext" .RepoLink "TextareaName" "content" "TextareaPlaceholder" (ctx.Locale.Tr "repo.wiki.page_content") "TextareaAriaLabel" (ctx.Locale.Tr "repo.wiki.page_content") "TextareaContent" $content )}}
{{ctx.Locale.Tr "cancel"}}
{{template "base/footer" .}}