=render'shared/zen',f: f,attr: :content,classes: 'note-textarea qa-wiki-content-textarea',placeholder: s_("WikiPage|Write your content or drag files here…"),autofocus: @page.persisted?
=render'shared/notes/hints'
.clearfix
.error-alert
.form-text.gl-text-gray-600
=succeed'.'do
-case@page.format.to_s
-when'rdoc'
-link_example='{Link title}[link:page-slug]'
-when'asciidoc'
-link_example='link:page-slug[Link title]'
-when'org'
-link_example='[[page-slug]]'
-else
-link_example='[Link Title](page-slug)'
=html_escape(s_('WikiMarkdownTip|To link to a (new) page, simply type %{link_example}'))%{link_example: tag.code(link_example,class: 'js-markup-link-example')}
msgid "WikiNewPageTip|Tip: You can specify the full path for the new file. We will automatically create any missing directories."
msgid "WikiPageConflictMessage|Someone edited the page the same time you did. Please check out %{wikiLinkStart}the page%{wikiLinkEnd} and make sure your changes will not unintentionally remove theirs."
msgstr ""
msgstr ""
msgid "WikiPageConfirmDelete|Are you sure you want to delete this page?"
msgid "WikiPageConflictMessage|Someone edited the page the same time you did. Please check out %{wikiLinkStart}the page%{wikiLinkEnd} and make sure your changes will not unintentionally remove theirs."
msgid "WikiPage|Create page"
msgstr ""
msgid "WikiPage|Format"
msgstr ""
msgid "WikiPage|Page title"
msgstr ""
msgid "WikiPage|Tip: You can move this page by adding the path to the beginning of the title."
msgstr ""
msgid "WikiPage|Tip: You can specify the full path for the new file. We will automatically create any missing directories."
msgstr ""
msgstr ""
msgid "WikiPageCreate|Create %{pageTitle}"
msgid "WikiPage|Title"
msgstr ""
msgstr ""
msgid "WikiPageEdit|Update %{pageTitle}"
msgid "WikiPage|To link to a (new) page, simply type %{linkExample}. More examples are in the %{linkStart}documentation%{linkEnd}."
msgstr ""
msgid "WikiPage|Update %{pageTitle}"
msgstr ""
msgstr ""
msgid "WikiPage|Write your content or drag files here…"
msgid "WikiPage|Write your content or drag files here…"
${true} | ${'You can move this page by adding the path to the beginning of the title.'} | ${'/help/user/project/wiki/index#moving-a-wiki-page'}
${false} | ${'You can specify the full path for the new file. We will automatically create any missing directories.'} | ${'/help/user/project/wiki/index#creating-a-new-wiki-page'}
`(
'shows appropriate title help text and help link for when persisted=$persisted',