<xf:title>{{ phrase('confirm_action') }}</xf:title>

<xf:form action="{{ link('phrases/delete', $phrase) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				<xf:if is="$phrase.language_id">
					{{ phrase('please_confirm_that_you_want_to_revert_the_following:') }}
				<xf:else />
					{{ phrase('please_confirm_that_you_want_to_delete_following:') }}
				</xf:if>
				<strong>
					{{ $phrase.language_id ? '<em class="u-dimmed">' . $phrase.Language.title . ':</em> ' : '' }}
					<a href="{{ link('phrases/edit', $phrase) }}">{$phrase.title}</a>
				</strong>
			</xf:inforow>
		</div>
		<xf:submitrow submit="{{ $phrase.language_id ? phrase('revert') : phrase('button.delete') }}"
			rowtype="simple" icon="{{ !$phrase.language_id ? 'delete' : '' }}" />
	</div>
	<xf:redirect />
</xf:form>