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

<xf:form action="{{ link('add-ons/uninstall', $addOn) }}" class="block">

	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_that_you_want_to_uninstall_following_add_on:') }}
				<strong>{$addOn.title} {$addOn.version_string}</strong>
				<xf:if is="$addOn.isLegacy()">
					<div class="blockMessage blockMessage--warning blockMessage--iconic">
						{{ phrase('uninstalling_legacy_add_ons_may_leave_orphaned_data') }}
					</div>
				<xf:else />
					<div class="blockMessage blockMessage--important blockMessage--iconic">
						{{ phrase('this_will_remove_any_data_created_by_add_on') }}
					</div>
				</xf:if>
			</xf:inforow>
		</div>

		<xf:submitrow submit="{{ phrase('uninstall') }}" rowtype="simple" icon="delete" />
	</div>

	<xf:redirect />

</xf:form>