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

<xf:form action="{{ link('logs/spam-cleaner/restore', $entry) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				<xf:if is="$entry.User">
					{{ phrase('please_confirm_that_you_want_to_restore_data_and_status_of_user:') }}
					<strong><a href="{{ link('users/edit', $entry.User) }}">{$entry.User.username}</a></strong>
				<xf:else />
					{{ phrase('please_confirm_that_you_want_to_restore_data_of_following_user:') }}
					<strong>{$entry.username}</strong>
				</xf:if>
			</xf:inforow>
		</div>
		<xf:submitrow submit="{{ phrase('restore') }}" rowtype="simple" />
	</div>
</xf:form>