Current File : /home/jvzmxxx/wiki1/extensions/Flow/handlebars/flow_block_header_undo_edit.handlebars
<div class="flow-board">
	{{#if undo.possible}}
		<p>{{l10n "flow-undo-edit-content"}}</p>
	{{else}}
		<p class="error">{{l10n "flow-undo-edit-failure"}}</p>
	{{/if}}

	{{> flow_errors}}

	{{#if undo.possible}}
		{{diffUndo undo.diff_content}}
	{{/if}}

	<form method="POST" action="{{links.undo-edit-header.url}}" class="flow-post" data-module="header">
		<input type="hidden" name="wpEditToken" value="{{@root.rootBlock.editToken}}" />
		<input type="hidden" name="header_prev_revision" value="{{current.revisionId}}" />

		<div class="flow-editor">
			<textarea name="header_content" class="mw-ui-input" data-role="content">
				{{~#if submitted.content~}}
					{{~submitted.content~}}
				{{~else~}}
					{{~#if undo.possible~}}
						{{~undo.content~}}
					{{~else~}}
						{{~current.content.content~}}
					{{~/if~}}
				{{~/if~}}
			</textarea>
		</div>

		<div class="flow-form-actions flow-form-collapsible">
			<button class="mw-ui-button mw-ui-progressive">
				{{~l10n "flow-edit-header-submit"~}}
			</button>
			<small class="flow-terms-of-use plainlinks">
				{{~l10nParse "flow-terms-of-use-edit"}}
			</small>
		</div>
	</form>
</div>