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

<xf:form action="{{ link('button-manager/reset', null, {'type': $type}) }}" ajax="true" class="block" data-force-flash-message="on">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm close">
				{{ phrase('please_confirm_that_you_want_to_reset_following_button_configuration:') }}
				<strong><a href="{{ link('button-manager/edit', null, {'type': $type}) }}">{$typeTitle}</a></strong>
			</xf:inforow>
			<xf:inforow>
				<p class="block-rowMessage block-rowMessage--warning block-rowMessage--iconic">
					<strong>{{ phrase('note:') }}</strong>
					{{ phrase('button_manager_reset_it_is_not_possible_to_reverse_this_action') }}
				</p>
			</xf:inforow>
		</div>
		<xf:submitrow rowtype="simple" icon="refresh" submit="{{ phrase('reset_button_configuration') }}" />
	</div>
</xf:form>