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

<xf:form action="{{ link('add-ons/mass-toggle', null, {'enable': 0}) }}" class="block" ajax="true">

	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				<p>{{ phrase('you_sure_you_want_to_disable_all_add_ons') }}</p>
				<xf:if is="!$disabled">
					<div class="blockMessage blockMessage--important blockMessage--iconic">
						{{ phrase('note_this_action_will_overwrite_previously_cached_disabled_add_ons_list') }}
					</div>
				</xf:if>
			</xf:inforow>
		</div>

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

	<xf:redirect />

</xf:form>