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

	<xf:option name="{$inputName}[enabled]" selected="$option.option_value.enabled" label="{$option.title}">
		<xf:dependent>
			<dl class="inputLabelPair">
				<dt><label for="{$inputName}_min">{{ phrase('start_sending_summary_email_when_user_inactive_for') }}</label></dt>
				<dd>
					<div class="inputGroup">
						<xf:numberbox name="{$inputName}[last_activity_min_days]" min="1"
							value="{{ ($option.option_value.enabled ? $option.option_value.last_activity_min_days : 14) }}"
							id="{$inputName}_min" />
						<span class="inputGroup--splitter"></span>
						<span class="inputGroup-text">{{ phrase('units_days') }}</span>
					</div>
				</dd>
			</dl>

			<dl class="inputLabelPair">
				<dt><label for="{$inputName}_freq">{{ phrase('send_summary_email_while_user_is_inactive_every') }}</label></dt>
				<dd>
					<div class="inputGroup">
						<xf:numberbox name="{$inputName}[email_frequency_days]" min="1"
							value="{{ ($option.option_value.enabled ? $option.option_value.email_frequency_days : 14) }}"
							id="{$inputName}_freq" />
						<span class="inputGroup--splitter"></span>
						<span class="inputGroup-text">{{ phrase('units_days') }}</span>
					</div>
				</dd>
			</dl>

			<dl class="inputLabelPair">
				<dt><label for="{$inputName}_max">{{ phrase('stop_sending_summary_email_when_user_inactive_for') }}</label></dt>
				<dd>
					<div class="inputGroup">
						<xf:numberbox name="{$inputName}[last_activity_max_days]" min="0"
							value="{{ ($option.option_value.enabled ? $option.option_value.last_activity_max_days : 180) }}"
							id="{$inputName}_max" />
						<span class="inputGroup--splitter"></span>
						<span class="inputGroup-text">{{ phrase('units_days') }}</span>
					</div>
				</dd>
			</dl>
		</xf:dependent>
	</xf:option>
</xf:checkboxrow>