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

<xf:form action="{{ link('styles/mass-revert', $style) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_reversion_of_customized_components_from_style', {'numTemplates': count($templateIds), 'numProperties': count($propertyIds), 'style': $style.title}) }}
			</xf:inforow>
		</div>
		<xf:submitrow submit="{{ phrase('revert') }}" rowtype="simple" name="perform_revert" value="1" />
	</div>
	<xf:redirect />
	<xf:foreach loop="$templateIds" value="$templateId">
		<xf:hiddenval name="template_ids[]">{$templateId}</xf:hiddenval>
	</xf:foreach>
	<xf:foreach loop="$propertyIds" value="$propertyId">
		<xf:hiddenval name="property_ids[]">{$propertyId}</xf:hiddenval>
	</xf:foreach>
</xf:form>