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

	<xf:option name="{$inputName}[enabled]" label="{{ phrase('stopforumspam_enable_registration_check') }}" value="1" selected="$option.option_value.enabled" data-hide="true">
		<xf:hint>{{ phrase('stopforumspam_enable_registration_check_explain') }}</xf:hint>
		<xf:checkbox>

			<xf:option name="_moderateThreshold" selected="$option.option_value.moderateThreshold">
				<xf:label>{{ phrase('stopforumspam_moderate_registration_threshold:') }}</xf:label>
				<xf:dependent>
					<xf:numberbox name="{$inputName}[moderateThreshold]" min="1" max="3" value="{$option.option_value.moderateThreshold}" />
					<p class="formRow-explain">{{ phrase('stopforumspam_moderate_registration_threshold_explain') }}</p>
				</xf:dependent>
			</xf:option>
			<xf:option name="_denyThreshold" selected="$option.option_value.denyThreshold">
				<xf:label>{{ phrase('stopforumspam_reject_registration_threshold:') }}</xf:label>
				<xf:dependent>
					<xf:numberbox name="{$inputName}[denyThreshold]" min="1" max="3" value="{$option.option_value.denyThreshold}" />
					<p class="formRow-explain">{{ phrase('stopforumspam_reject_registration_threshold_explain') }}</p>
				</xf:dependent>
			</xf:option>

			<xf:option name="_lastSeenCutOff" selected="$option.option_value.lastSeenCutOff">
				<xf:label>{{ phrase('stopforumspam_lastseencutoff_label:') }}</xf:label>
				<xf:dependent>
					<xf:numberbox name="{$inputName}[lastSeenCutOff]" min="0" value="{$option.option_value.lastSeenCutOff}" units="{{ phrase('units_days') }}" />
					<p class="formRow-explain">{{ phrase('stopforumspam_lastseencutoff_explain') }}</p>
				</xf:dependent>
			</xf:option>

			<xf:option name="_frequencyCutOff" selected="$option.option_value.frequencyCutOff">
				<xf:label>{{ phrase('stopforumspam_frequencycutoff_label:') }}</xf:label>
				<xf:dependent>
					<xf:numberbox name="{$inputName}[frequencyCutOff]" min="0" value="{$option.option_value.frequencyCutOff}" />
					<p class="formRow-explain">{{ phrase('stopforumspam_frequencycutoff_explain') }}</p>
				</xf:dependent>
			</xf:option>

			<xf:option name="{$inputName}[hashEmail]" selected="$option.option_value.hashEmail">
				<xf:label>{{ phrase('stopforumspam_hashemail_label') }}</xf:label>
				<xf:hint>{{ phrase('stopforumspam_hashemail_explain') }}</xf:hint>
			</xf:option>

		</xf:checkbox>
	</xf:option>
	<xf:option name="{$inputName}[submitRejections]" value="1" selected="$option.option_value.submitRejections">
		<xf:label>{{ phrase('stopforumspam_submit_information:') }}</xf:label>
		<xf:dependent>
			<xf:textbox name="{$inputName}[apiKey]" value="{$option.option_value.apiKey}"
				pattern="^[a-zA-Z0-9]+$" title="{{ phrase('please_enter_a_valid_api_key') }}" />
			<p class="formRow-explain">{{ phrase('stopforumspam_submit_information_explain') }}</p>
		</xf:dependent>
	</xf:option>
</xf:checkboxrow>