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

	<xf:option name="{$inputName}[enabled]" selected="$option.option_value.enabled"
		label="{{ phrase('enable_writing_before_registering') }}">

		<xf:dependent>
			<div>{{ phrase('inherit_permissions_from:') }}</div>

			<xf:checkbox name="{$inputName}[userGroups]" value="{{ $option.option_value.userGroups ?: [2] }}"
				listclass="listColumns">
				<xf:foreach loop="$userGroups" value="$userGroup">
					<xf:option label="{$userGroup.label}" value="{$userGroup.value}" />
				</xf:foreach>
			</xf:checkbox>
		</xf:dependent>
	</xf:option>
</xf:checkboxrow>