<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}_h">{{ phrase('store_drafts_for_x_hours') }}</label></dt>
				<dd><xf:numberbox name="{$inputName}[lifetime]" id="{$inputName}_h" value="{{ $option.option_value.enabled ? $option.option_value.lifetime : '24' }}" min="1" /></dd>
			</dl>
			<dl class="inputLabelPair">
				<dt><label for="{$inputName}_s">{{ phrase('save_drafts_every_x_seconds') }}</label></dt>
				<dd><xf:numberbox name="{$inputName}[saveFrequency]" id="{$inputName}_s" value="{{ $option.option_value.enabled ? $option.option_value.saveFrequency : '60' }}" min="1" /></dd>
			</dl>
		</xf:dependent>
	</xf:option>
</xf:checkboxrow>