{{#unless actions.unlock}}{{!-- HACK: T135848 --}}
<form class="flow-post flow-reply-form"
      method="POST"
      action="{{actions.reply.url}}"
      id="flow-reply-{{postId}}"
>
	<input type="hidden" name="wpEditToken" value="{{@root.rootBlock.editToken}}" />
	<input type="hidden" name="topic_replyTo" value="{{postId}}" />
	{{> flow_errors }}

	{{#ifAnonymous}}
		{{> flow_anon_warning }}
	{{/ifAnonymous}}

	<div class="flow-editor">
		<textarea id="flow-post-{{postId}}-form-content"
		          name="topic_content"
		          required
		          class="mw-ui-input flow-click-interactive mw-editfont-{{@root.rootBlock.editFont}}"
		          type="text"
			      placeholder="{{l10n "flow-reply-topic-title-placeholder" properties.topic-of-post-text-from-html}}"
		          data-role="content"
		>
			{{~#if @root.submitted~}}
				{{~#ifCond @root.submitted.postId "===" postId~}}
					{{~@root.submitted.content~}}
				{{~/ifCond~}}
			{{~/if~}}
		</textarea>
	</div>

	<div class="flow-form-actions flow-form-collapsible">
		<button data-role="submit"
		        class="mw-ui-button mw-ui-progressive"
		>
			{{~l10n "flow-reply-link"~}}
		</button>
		<small class="flow-terms-of-use plainlinks">{{l10nParseFlowTermsOfUse "reply"}}</small>
	</div>
</form>
{{/unless}}
