<xf:formrow
	label="{$option.title}"
	hint="{$hintHtml}"
	explain="{$explainHtml}"
	rowclass="{$rowClass}">

	<xf:if is="$option.option_value.enabled">
		<xf:if is="$option.option_value.verified">
			<div class="block-rowMessage block-rowMessage--success">{{ phrase('xenforo_is_signing_your_outgoing_emails_with_dkim') }}</div>
		<xf:elseif is="$option.option_value.failed" />
			<div class="block-rowMessage block-rowMessage--error">{{ phrase('we_were_unable_to_verify_dns_record') }}</div>
		<xf:else />
			<div class="block-rowMessage block-rowMessage--warning">{{ phrase('attempting_to_verify_your_dns_record_but_it_may_take_up_to_24_hours_for') }}</div>
		</xf:if>
	</xf:if>

	<xf:if is="$canUseEmailDkim">
		<div class="u-inputSpacer">
			<xf:button href="{{ link('options/email-dkim-setup', $option) }}" data-xf-click="overlay">
				{{ $option.option_value.enabled ? phrase('change') : phrase('enable') }}
			</xf:button>
			<xf:if is="$option.option_value.enabled">
				<xf:button href="{{ link('options/email-dkim-disable', $option) }}">
					{{ phrase('disable') }}
				</xf:button>
			</xf:if>
		</div>
	<xf:else />
		<div class="block-rowMessage block-rowMessage--error">{$error}</div>
	</xf:if>
</xf:formrow>