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

<xf:form action="{{ link('force-agreement/terms') }}" ajax="true" data-force-flash-message="on" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_that_you_want_to_force_all_current_users_to_accept_following') }}
				<strong><a href="{$xf.tosUrl}" target="_blank">{{ phrase('terms_and_rules') }} &middot; {{ phrase('last_updated:') }} <xf:if is="$xf.options.termsLastUpdate"><xf:date time="$xf.options.termsLastUpdate" /><xf:else />{{ phrase('never') }}</xf:if></a></strong>
			</xf:inforow>
		</div>
		<xf:submitrow icon="save" rowtype="simple" />
	</div>
</xf:form>

<xf:set var="$header">
	<div class="block-header">{{ phrase('options') }}</div>
</xf:set>
<xf:macro id="option_macros::option_form_block"
	arg-options="{$options}"
	arg-containerBeforeHtml="{$header}" />