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

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

	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				<xf:if is="$errors">
					{{ phrase('we_found_some_errors_while_trying_to_install_following_add_on:') }}
				<xf:elseif is="$warnings" />
					{{ phrase('please_review_warnings_and_confirm_you_wish_to_proceed_installing:') }}
				<xf:else />
					{{ phrase('please_confirm_that_you_want_to_install_following_add_on:') }}
				</xf:if>
				<strong>{$addOn.title} {$addOn.version_string}</strong>
			</xf:inforow>
		</div>

		<xf:macro id="addon_action_macros::summary"
			arg-errors="{$errors}"
			arg-warnings="{$warnings}" />

		<xf:macro id="addon_action_macros::action"
			arg-errors="{$errors}"
			arg-warnings="{$warnings}"
			arg-submit="{{ phrase('install') }}" />
	</div>

	<xf:redirect />

</xf:form>